I have given my datagrid a source in code with the following:
Me.DataGrid2.DataSource = Me.dsArchive
The proble is that the datagrid is not expanded (it has the + link in the top left hand corner.
How do i display the entire contents in code?
Printable View
I have given my datagrid a source in code with the following:
Me.DataGrid2.DataSource = Me.dsArchive
The proble is that the datagrid is not expanded (it has the + link in the top left hand corner.
How do i display the entire contents in code?
Think you need to specify the table:-
Me.DataGrid2.DataSource = Me.dsArchive.Tables(0)