DataGrid and Relationships

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
 
B

Bart Mermuys

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
 
C

Charles A. Lackman

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
 
B

Bart Mermuys

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
 
C

Charles A. Lackman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top