all groups > vb.net controls > december 2005 >
You're in the

vb.net controls

group:

Datagrid


Datagrid eagle
12/21/2005 1:36:29 PM
vb.net controls:
System.Windows.Forms.Datagrid:

My datagrid is bound to a datasource, and appears with a + and the name of
the table as a link, and we always have to click on the link to get the grid
to expand. In code I have tried saying datagrid1.expand(-1) but we still
have to click on the table link. How do I get rid of it and have it display
as normal datagrid.

Re: Datagrid eagle
12/21/2005 1:51:31 PM
Never mind, I figured out: set the datasource = ds.Tables(0)
[quoted text, click to view]

AddThis Social Bookmark Button