View Single Post
Old 01-28-2013, 12:57 PM   PM User | #3
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
are you creating a datatable first and then binding the datatable to the gridview? you don't need to databind the gridview to the database. You can populate a datatable and then manipulate it any way you want, then bind it to the gridview... see my reply in this thread... although I answered the OP wrong, the logic is correct- i just didn't understand the OP question correctly :P

Does that help?
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote