473,480 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

parent-child datagrids

Is there a way to setup master-detail between 2 distinct datagrids on same
form without writing code?

Is there a way to setup a child datagrid - binding it to a pk on the form so
when the binder position on the form changes the datagrid changes to reflect
new children?

I am looking for this in the 'bindings' section of the property window and
do not find anything.

Will write the code - but am wondering if this ability is already built-in
using the properties window....

Thanks

Nov 21 '05 #1
2 1032
astro,

At this site:

http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q780q

see 5.30 How can I bind two datagrids in a Master-Detail relationship?

Kerry Moorman
"astro" wrote:
Is there a way to setup master-detail between 2 distinct datagrids on same
form without writing code?

Is there a way to setup a child datagrid - binding it to a pk on the form so
when the binder position on the form changes the datagrid changes to reflect
new children?

I am looking for this in the 'bindings' section of the property window and
do not find anything.

Will write the code - but am wondering if this ability is already built-in
using the properties window....

Thanks

Nov 21 '05 #2
thank you - it worked ))

"Kerry Moorman" <Ke**********@discussions.microsoft.com> wrote in message
news:17**********************************@microsof t.com...
astro,

At this site:

http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q780q

see 5.30 How can I bind two datagrids in a Master-Detail relationship?

Kerry Moorman
"astro" wrote:
Is there a way to setup master-detail between 2 distinct datagrids on
same
form without writing code?

Is there a way to setup a child datagrid - binding it to a pk on the form
so
when the binder position on the form changes the datagrid changes to
reflect
new children?

I am looking for this in the 'bindings' section of the property window
and
do not find anything.

Will write the code - but am wondering if this ability is already
built-in
using the properties window....

Thanks

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3632
by: Suzanne Vogel | last post by:
Hi, Given: I have a class with protected or private data members, some of them without accessor methods. It's someone else's class, so I can't change it. (eg, I can't add accessor methods to the...
5
2363
by: Zürcher See | last post by:
The Control class has the Parent property that is readonly. When the control is added to a controls collection of another control the Parent property refers to that control. "Who" set the Parent...
2
23464
by: Jeronimo Bertran | last post by:
Hi, I have a page with a very data intensive grid which needs to be automatically refreshed constantly if a change is detected. In order to not refresh the complete page so often, I created an...
2
2177
by: Roy | last post by:
Ok, this is incredibly annoying. Below I have an ImageButton and it's ImageButton_Click sub. See the 6 response.writes? The output for them is displayed below in asterisks. Question: What part of...
4
9633
by: Phil Powell | last post by:
I thought this would work but it seems to not work neither in Netscape nor in IE: <script type="text/javascript"> <!-- // OBTAINED FROM http://www.javascripter.net/faq/settinga.htm //...
6
2528
by: Ray Schumacher | last post by:
What is the feeling on using "parent" in a class definition that class methods can refer to, vs. some other organization ? Should all relevant objects/vars just be passed into the method as needed?...
2
13771
by: Steven | last post by:
I have a page(pg1) which contains a select list (list1) in a form(form1) and an iframe(frame1), in this iframe is a page(pg2) with another select list(list2) in a form(form2) and I transfer the...
5
2162
by: gnewsgroup | last post by:
In my user control, I would like to find a Label control in the parent page (the page that uses my user control). I need to update that Label.Text when something happens in the user control. I...
1
3764
by: bnchs | last post by:
This is C code. I am trying to fill each node's Parent field with its parent because I am drawing nodes to the screen. However, I have not been able to get this working. Reading the output from the...
4
1533
by: Andrew | last post by:
I want to create a set of Activity Diagram controls for process control. I need to create a base Diagram control that acts as a container for the Activity controls ( StartPoint, EndPoint,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7043
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6737
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6921
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5336
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4776
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.