How can I bind the results of Web service to a ListView?
I'm new to ASP.NET so I apologize if this is a basic question.
I have a Web application. This web application has a ListView on it.
For this web app I make calls to a web service which returns data from a
database. I return the data using the following format:
public List<Record> Search()
List<Record> list = new List<Record>();
/* Populate list with data from a db */
public class Record
public String name;
public String address;
public int ageInYears;
Now I would like from the Web Application to show the data on a
listview. Is there a way of doing this by using the Data Source property
of the Listview or the only way is to populate the listview manually?
Thanks a lot
|All times are GMT. The time now is 10:38 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.