HOW TO POPULATE A LISTVIEW IN THROUGH A DATASET

Ankita Pandey

Total Post:183

Points:1285
Posted by  Ankita Pandey
 811  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. Sumit Kesarwani

    Post:378

    Points:2694
    Re: How to populate a listview in through a dataset

    Hi Ankita, 

    try this:

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

    listview.DataBind;

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!