I am trying to understand how to change "Table" data in aspx based on the search results I get from SQL query. I have six different tables which corresponds to the information related to the license type a user have in my organization. How do I display other content or change text on the table which to a completely different set of information. I am not trying to show data from database table. I have html tables and I want to change those based on query results.
I am not trying to bind the data from database to html. The other tables have the same format as the code below but with different text.
Any kind of help or get started will be helpful.
Here is my SQL query which searches for the result:
SELECT * FROM [DBNNAME].[dbo].[TableName] Where UPN like '%'+@UPN+'%' And LicenseType in ('(Plan E3)' , '(Plan E5)' , '(Plan F1)', 'Conferencing') And ZoomStatus IS NULL OR UPN like '%'+@UPN+'%' And LicenseType in ((Plan E3)' , '(Plan E5)' , '(Plan F1)', 'Conferencing') And ZoomStatus = 'active' "
| ABCD | ABCD | ||
|---|---|---|---|
7 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vertika ChauhanPosted May 19, 2020, 11:50 AM
Vertika ChauhanPosted May 19, 2020, 11:58 AM
Mo KhanPosted May 19, 2020, 11:54 AM
Mo KhanPosted May 19, 2020, 11:28 AM
Vertika ChauhanPosted May 19, 2020, 11:21 AM
Mo KhanPosted May 19, 2020, 11:17 AM
Vertika ChauhanPosted May 19, 2020, 11:08 AM