DataGrid and Relationships

  • Thread starter Thread starter Charles A. Lackman
  • Start date Start date
C

Charles A. Lackman

Hello,

I have a View that has a relationship between two tables.

It works well for what I am doing, but I want to hide the child rows in my
datagrid. I only want the data from table1 to show in the grid without the
"+" sign.

Is there a way to accomplish this?

Thanks,

Chuck
 
Hi,

Charles A. Lackman said:
Hello,

I have a View that has a relationship between two tables.

It works well for what I am doing, but I want to hide the child rows in my
datagrid. I only want the data from table1 to show in the grid without
the
"+" sign.

Is there a way to accomplish this?

Set DataGrid.AllowNavigation to false.

HTH,
Greetings
 
Hello,

Thanks for the information, but Datagrid1.AllowNavigation = False doesn't
seem to work. Any other suggestions?

Chuck


Hi,

Charles A. Lackman said:
Hello,

I have a View that has a relationship between two tables.

It works well for what I am doing, but I want to hide the child rows in my
datagrid. I only want the data from table1 to show in the grid without
the
"+" sign.

Is there a way to accomplish this?

Set DataGrid.AllowNavigation to false.

HTH,
Greetings
 
Hi,

Charles A. Lackman said:
Hello,

Thanks for the information, but Datagrid1.AllowNavigation = False doesn't
seem to work. Any other suggestions?

Just did a little test (NET1.1) and it seems to work, don't know of any
other option.

HTH,
Greetings
 
Whoops,

I was doing it to the wrong datagrid. Thanks

Chuck
Hi,

Charles A. Lackman said:
Hello,

I have a View that has a relationship between two tables.

It works well for what I am doing, but I want to hide the child rows in my
datagrid. I only want the data from table1 to show in the grid without
the
"+" sign.

Is there a way to accomplish this?

Set DataGrid.AllowNavigation to false.

HTH,
Greetings
 
Back
Top