Use the DataTable as the DataSource. |
| Peter Bromberg replied to touseef ahmed at 11-May-08 05:05 |
1. First, you get DataSet with one or more DataTables
2. Then set DataGrid (or GridView) DataSource property to the DataTable
3. Call the DataBind method of the GridView or DataGrid
Check out the quickstarts section at the asp.net website for complete tutorials. |
| Biography |
Peter Bromberg is a C# MVP, MCP, and .NET expert who has worked in banking ,financial and telephony for 20 years. Pete focuses exclusively on the .NET Platform, and his samples at GotDotNet.com have been downloaded over 56,000 times. Peter enjoys producing 3D raytraced digital photo collage with Maya, the beach, and fine wines. You can view Peter's UnBlog and IttyUrl sites. Please post questions at forums, not via email! |  |  |
|