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

Home Posts Topics Members FAQ

Possible to use parent and child datagrids?

Hi again. I finally figured out WHAT I need, but not much of a clue how
to do it. I'm new to datagrids and I'm using a document-like xml
structure versus a database-like structure. I think I need to create two
edit grids. One where the user would see the selected parent element
(Station or Doc), and allow him to edit/delete/add at that level, but
also to see/edit/delete/add on a child element level (Doc or SN).

For example,

<Station name="Station1">
<Doc name="doc1">
<SN name="12345"/>
<SN name="12346"/>
</Doc>
<Doc name="doc2">
<SN name="12345"/>
<SN name="12346"/>
</Doc>
</Station>
<Station name="Station2">
<Doc name="doc1">
<SN name="12345"/>
<SN name="12346"/>
</Doc>
<Doc name="doc2">
<SN name="12345"/>
<SN name="12346"/>
</Doc>
</Station>

Could anyone suggest something? I thought I was on the right track with
Paul Chu's XML Books example, but that really deals with
database-structure data in an xml file. I continue to struggle with the
alternative -- unknown levels of child elements, etc!

Is datagrid NOT the way to go? But what else in its place?

Thanks again and again.

Kathy

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #1
0 1114

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

Similar topics

1
by: mrhicks | last post by:
Hello all, I need some advice/help on a particular problem I am having. I have a basic struct called "indv_rpt_rply" that holds information for a particular device in our system which I will...
8
by: Richard L Rosenheim | last post by:
I have a dataset containing a parent table related to a child table. The child table contains an ID field (which is configured as autonumber in the datatable), the ID of the parent, plus some...
2
by: Sam Marrocco | last post by:
If an object is the child of another object, is it possible to refer to the parent's properties? Put simply (in pseudocode), Public Class MyChild_Class Public NameOfChild as string End Class ...
2
by: mkidd | last post by:
Hi, I'm new at vb .net and I have an issue that must be a common one, but I haven't found an example of it yet. I want to create parent-child relationships for 3 tables...
4
by: Richard Fagen | last post by:
Hi, I wondering if someone can explain the best way to show three datagrids in a parent/child/grandchild relationship? For example: Take a simple form with 3 datagrids - the top for the...
2
by: astro | last post by:
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...
8
by: Rick | last post by:
VS 2005 I' m setting up a parent/child datagridviews in a form. I am doing a lot of this by hand coding in order to get the feel of things. I want a change in the parent table to trigger a...
2
by: Jack | last post by:
Hello, I have a 3-level class hirarchy: 1=Grandparent 2=Parent 3=Child The Grandparent has a method called OnPaint which I want to override from the Child class. I can do this, but how...
5
by: shapper | last post by:
Hello, I have the following list: <ul id="parent" class="parent"> <li> <img... </li> <ul id="child" class="child"> <li>Message 1</li>
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
1
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
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
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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.