all groups > dotnet windows forms databinding > november 2004 >
You're in the

dotnet windows forms databinding

group:

Open first level in parent-child datagrid


Open first level in parent-child datagrid Brian Bischof
11/16/2004 4:57:40 PM
dotnet windows forms databinding: I have a parent-child datagrid working fine with three datasets connected.
My question is how to make it open to the first level automatically. Right
now when the form opens it just shows a blank datagrid with a plus sign. I
click the plus sign and then it shows me all three levels to choose from. I
then click on the top level and it shows me the rows. How can I show these
rows by default without making the user do all that clicking?

Thanks.

Re: Open first level in parent-child datagrid Brian Bischof
11/17/2004 11:46:37 PM
For anyone Googling this message, I found out that by setting DataMember to
the table name, it automatically opens the datagrid to that level.

HTH.

[quoted text, click to view]

AddThis Social Bookmark Button