Sherwin
Sherwin

Reputation: 377

How to manually populate the datagrid in asp.net 1.1 using vb.net 2003?

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?

Upvotes: 1

Views: 1129

Answers (1)

Shawn Steward
Shawn Steward

Reputation: 6825

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.

Upvotes: 1

Related Questions