Click here to Skip to main content
14,970,493 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi...

I want to bind gridview using datatable.I want add one row as my first row of grid after header row contains controls and after this i want add row in the grid by binding datatable to it.provide soln.thanx
Posted

   
Comments
Mohamed Mitwalli 29-Aug-12 3:50am
   
5+
Prasad_Kulkarni 29-Aug-12 5:00am
   
Thank you Mohamed!
Hi,

Use below links

http://www.thecodekey.com/Articles/ASP_net/Bind_Grid_with_Dataset.aspx[^]
http://www.vkinfotek.com/gridview/binding-gridview-dataset.html[^]

After binding grid, use a datatable and insert a blank row into that then insert all row from existing datatable then bing again to grid.

Please check and confirm. if you have any confusion then you can ask me.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900