Serial No
ASP.NET
5
Posts
3
Posters
0
Views
1
Watching
-
-
Hi Mohan, Check for the below code. Datagrid.Databind 'After binding the datagrid Dim item As DataGridItem Dim i as integer=0 For Each item In Datagrid.Items i+=1 item.Cells(0).Text=i 'Where item.Cells(0) is the first column in your datagrid if you have kept for serial number. Next '--------------------------------------- Or you can append the value of "i" while you are using datatable when you fill it with datareader. Regards, Raghu.
-
Thanks for your Replay, If you have code or example and Post here, it will better for Me Mohan balal
Just try yourself there are lot of articles there. If you get any error means, tell your error, we will solve your problem.
Regards, Satips.