Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / November 2006

Tip: Looking for answers? Try searching our database.

DataGrid and Relationships

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charles A. Lackman - 28 Nov 2006 19:44 GMT
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
Bart Mermuys - 28 Nov 2006 20:39 GMT
Hi,

> Hello,
>
[quoted text clipped - 6 lines]
>
> Is there a way to accomplish this?

Set DataGrid.AllowNavigation to false.

HTH,
Greetings

> Thanks,
>
> Chuck
Charles A. Lackman - 28 Nov 2006 21:02 GMT
Hello,

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

Chuck

Hi,

> Hello,
>
[quoted text clipped - 6 lines]
>
> Is there a way to accomplish this?

Set DataGrid.AllowNavigation to false.

HTH,
Greetings

> Thanks,
>
> Chuck
Bart Mermuys - 28 Nov 2006 21:22 GMT
Hi,

> 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
>
[quoted text clipped - 20 lines]
>>
>> Chuck
Charles A. Lackman - 28 Nov 2006 21:23 GMT
Whoops,

I was doing it to the wrong datagrid.  Thanks

Chuck
Hi,

> Hello,
>
[quoted text clipped - 6 lines]
>
> Is there a way to accomplish this?

Set DataGrid.AllowNavigation to false.

HTH,
Greetings

> Thanks,
>
> Chuck

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.