I have a gridview in my web application. I use a SqlDataAdapter to fill a datatable, and then set my GridView's datasource as the datatable and do a DataBind() on the GridView. But before I do the datasource selection and the databinding, I try to copy the first column and place it in the second column, and have an autoincrement in the first column ("1", "2", "3", etc.), but it the GridView is just blanked out then. If I DON'T mess around with those columns then the GridView looks just normal like it should.
What could be going wrong with this??? My method is not working. Any help is much appreciated. Thanks in advance. :)
View Complete Post