How to populate a listview in through a dataset

Total Post:183

Points:1285

 1209  View(s)
Ratings:
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.

  1. Re: How to populate a listview in through a dataset

    Hi Ankita, 

    try this:

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

    listview.DataBind;

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.