PC Review


Reply
Thread Tools Rate Thread

DataGrid and Relationships

 
 
Charles A. Lackman
Guest
Posts: n/a
 
      28th Nov 2006
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


 
Reply With Quote
 
 
 
 
Bart Mermuys
Guest
Posts: n/a
 
      28th Nov 2006
Hi,

"Charles A. Lackman" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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


>
> Thanks,
>
> Chuck
>
>



 
Reply With Quote
 
Charles A. Lackman
Guest
Posts: n/a
 
      28th Nov 2006
Hello,

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

Chuck


"Bart Mermuys" <(E-Mail Removed)> wrote in message
news:381bh.209198$(E-Mail Removed)...
Hi,

"Charles A. Lackman" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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


>
> Thanks,
>
> Chuck
>
>




 
Reply With Quote
 
Bart Mermuys
Guest
Posts: n/a
 
      28th Nov 2006
Hi,

"Charles A. Lackman" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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

> Chuck
>
>
> "Bart Mermuys" <(E-Mail Removed)> wrote in message
> news:381bh.209198$(E-Mail Removed)...
> Hi,
>
> "Charles A. Lackman" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> 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
>
>
>>
>> Thanks,
>>
>> Chuck
>>
>>

>
>
>



 
Reply With Quote
 
Charles A. Lackman
Guest
Posts: n/a
 
      28th Nov 2006
Whoops,

I was doing it to the wrong datagrid. Thanks

Chuck
"Bart Mermuys" <(E-Mail Removed)> wrote in message
news:381bh.209198$(E-Mail Removed)...
Hi,

"Charles A. Lackman" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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


>
> Thanks,
>
> Chuck
>
>




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrid relationships dallasfreeman Microsoft VB .NET 2 18th Aug 2006 02:39 PM
Chasing Parent Relationships in a datagrid jdipalmajr@comcast.net Microsoft Dot NET Framework 0 16th May 2005 08:42 PM
Datagrid Parent/Child relationships??? Darryn Ross Microsoft C# .NET 3 24th Sep 2004 01:53 PM
datagrid it's not showing relationships =?Utf-8?B?RGFubnk=?= Microsoft ADO .NET 1 7th Sep 2004 11:57 PM
2 tables and 2 relationships in a datagrid =?Utf-8?B?T3plcg==?= Microsoft ASP .NET 1 14th Jun 2004 01:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:14 PM.