Last post Dec 24, 2020 12:35 PM by l.laxmikant
Dec 24, 2020 07:03 AM|mohitjoshi72|LINK
I want to develop a Web App in ASP.NET C# where I want to display chart based on SQL Table Column values. For that I need to extract all the values in JSON. So I kindly request to help me to perform the task ASAP.
Dec 24, 2020 12:35 PM|l.laxmikant|LINK
Below code will give you all column names of a table
SELECT * FROM sys.columns WHERE object_id = OBJECT_ID('News')
then you can read using ADO.NET and convert to json