12many Posted August 17, 2011 Posted August 17, 2011 Hi there can someone help with a problem im having with a datagridview i have pre setup two columns the first is a DGV comboboxcell and the other is just a textboxcell. When i try and load in saved data all it does is add two new columns after the two existing columns I need it to fill the existing columns of the datagridview not add two new ones ive tried all sorts of things, like trying to add each row in seperatley however this didn't work either this is the code that i use to fill the DGV dvg.datasource = datatable Ive tried using the DGV.Autogenertatecolumns = false but then i get the right amount of rows but with no data in all the data comes from a database and the datatable is filled using a datadapter if anyone has any clue please get back to me im getting desperate regards Ian Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.