Title: How to manually populate the datagrid in asp.net 1.1 using vb.net 2003?
Tags: asp.net;vb.net;visual-studio-2003;asp.net-1.1
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?


Here is the accepted answer: 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.

Comment for this answer: Glad to hear it.  I updated my answer with the proper syntax, thanks.
Comment for this answer: Thanks. though it's ds.Tables("TableName").Rows since it's VB thanks sir


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2010:00:01/26/10', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<asp.net><vb.net><visual-studio-2003><asp.net-1.1>', 'Title': 'How to manually populate the datagrid in asp.net 1.1 using vb.net 2003?', 'ViewCount': 1124, 'id': 2140355, 'user_AboutMe': "<p>I'm currently a student taking BS Computer Science at Mapua Institute of Technology in Makati Manila Philippines.</p>\n", 'user_AccountId': 53281.0, 'user_DisplayName': 'Sherwin', 'user_Reputation': 377.0, 'user_Views': 101.0, 'user_id': 159294.0}}