Hi,
I have a database table (sql server 2008) that I want to view data for, what is the quickest way of displaying this data?
(if it could have paging that would be perfect).
Would it be a gridview or ?
query: select * from testData
Hi,
I have a database table (sql server 2008) that I want to view data for, what is the quickest way of displaying this data?
(if it could have paging that would be perfect).
Would it be a gridview or ?
query: select * from testData
Hello, if you're using .NET 3.5 you could use ASP.NET Dynamic Data:
http://www.asp.net/dynamicdata/
Hope this helps!
via ADO.NET get your data into a DataSet or DataTable.
then:
gridview.DataSource = yourDataTable;
gridview.DataBind();
Gridview would be a perfect solution
you can have paging and sorting with that just by the properties AllowPaging="true" PageSize="##" AllowSorting="true" and if you want all the data and not just specific rows you can just do AutoGenerateColumns="true"