If you want to show these values in a DataGrid, you just need to bind the results you got from the database to the datagrid. Usually it's something like this:
'Do database stuff here...
DataGrid1.DataSource = dataSet1.Tables(0)
DataGrid1.DataBind()
That's it. Now your datagrid will show every column and every row in the resulting datatable. You can use the DataGrid markup to customize the datagrid (hide columns, change styles, etc)
Peter
------------------------------------------------------
Work smarter, not harder.
|