Hi Team,
I want to create a custom widget to check Office 365 version installed on my assets.
I found a query to do a chart report, that's working fine, see below

Now if I unsderstand I need to create an aspx file where I include my query. I red lansweeper tutorial to create a custom widget but I'm not web dev and have a lot difficulties to do it.
I created aspx file (with visual studio 2019) and included draft code of the tutorial and included my query, but I have error.
Can you help me to do my aspx file?
I attach query in txt file and my aspx file, if you can advise me or provide me working aspx file
Thank you by advance for your precious help