Question

just would like to ask if it is possible to manually populate the datagrid in asp.net 2003 using vb.net

we usually populate the datagrid using this code, in this code what it does is it populate the datagrid base on your query , it's automated you can't edit or evaluate the data inside.

dataGrid.DataSource = ds
dataGrid.DataBind()

What if if I want to edit or evaluate the data inside the DataSet?

Was it helpful?

Solution

Before you link your DataSource, you can loop through it and modify the values if you want. Try looping through the ds.Tables("TableName").Rows collection.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top