Home Forums WinForms controls Xceed Grid for WinForms Empty grid after databinding.. Reply To: Empty grid after databinding..

User (Old forums)
Post count: 23064

Yes, well I can make a simple app like that and it works. For some reason with all of the code I have something makes it not work. I was wondering if you had any ideas. I can make it work perfectly fine if i add the following line of code:

dt = GetTable()

DataGridView1.DataSource = dt
With XceedGrid
.DataSource = dt
End With

For some reason binding it to a datagridview before binding it to the xceed grid does something to the datatable or some action that resolves the problem. Is there anything that might need changed on my datatable?

Imported from legacy forums. Posted by jdanko (had 396 views)