I am using .net 3.5 . I have a database on which i want to run queries. I am using data adapters or SqlCommand to run the query. But eventually I want the data in row-wise and column-wise string data. What is the way to do that ?
I mean how to extract the data in this way from the dataset(whuich is what is returned by sqlDataAdapter) ? Or is there some other approach to this problem ?
I am using .net 3.5 . I have a database on which i want
Share
You should look into the DataSet class.
You access values by method of:
Or alternatively: