Home > DeveloperSection > Forums > How to populate a listview in through a dataset
Ankita Pandey
Ankita Pandey

Total Post:183

Posted on    August-27-2014 1:55 AM


 1 Reply(s)
 759  View(s)
Rate this:

Is it possible to populate a listview with a dataset? I have a function that returns a dataset. Why im asking this is because my SQL is quite complicated and i can't convert it to a SQLDataSource.

Sumit Kesarwani

Total Post:378

Posted on    August-27-2014 11:15 PM

Hi Ankita, 
try this:

listview.DataSource = YourDataSetName().Tables(0);


Don't want to miss updates? Please click the below button!

Follow MindStick