473,378 Members | 1,471 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

datagrid - 2 master tables

Hi

I have the following table structure.
employee table structure
1.empid
2.cateid
3.empname

Category table
1.cateid
2.catename

I want to display and edit these details on datagrid. i want to display the
employee table details and also category name details into combo box on grid.
so then i can modify the category for particular employee. Can we combine 2
master table details into single datagrid. one master table data contain
multiple records.

Is it possible? if yes can anyone please give me the article link or code.
if no what is other possiblity. please let me know.

thanks
bala

Nov 19 '05 #1
2 1071
What you looking for is nested datagrids/nesting datagrid

Google that and you should find some nice references like this:

http://www.daniweb.com/techtalkforums/thread5777.html

"Bala" <Ba**@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
Hi

I have the following table structure.
employee table structure
1.empid
2.cateid
3.empname

Category table
1.cateid
2.catename

I want to display and edit these details on datagrid. i want to display
the
employee table details and also category name details into combo box on
grid.
so then i can modify the category for particular employee. Can we combine
2
master table details into single datagrid. one master table data contain
multiple records.

Is it possible? if yes can anyone please give me the article link or code.
if no what is other possiblity. please let me know.

thanks
bala

Nov 19 '05 #2
thanks. got it here.

http://authors.aspalliance.com/das/dgcombo.aspx

bala

"Grant Merwitz" wrote:
What you looking for is nested datagrids/nesting datagrid

Google that and you should find some nice references like this:

http://www.daniweb.com/techtalkforums/thread5777.html

"Bala" <Ba**@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
Hi

I have the following table structure.
employee table structure
1.empid
2.cateid
3.empname

Category table
1.cateid
2.catename

I want to display and edit these details on datagrid. i want to display
the
employee table details and also category name details into combo box on
grid.
so then i can modify the category for particular employee. Can we combine
2
master table details into single datagrid. one master table data contain
multiple records.

Is it possible? if yes can anyone please give me the article link or code.
if no what is other possiblity. please let me know.

thanks
bala


Nov 19 '05 #3

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

Similar topics

1
by: | last post by:
Hi, i wanted to know how i could resolve the following error message: there in an error in my application when i am trying to retrieve a row a row from a detail table based on the key field...
1
by: Juan | last post by:
I built a form that displays a master-detail relation ship, now i need to add a column to the datagrid displaying the master data, this column corresponds to the text name of a column stored in the...
3
by: Job Lot | last post by:
My DataGrid is bound to DataSet which contains relationship between two tables as follows: SqlHelper.FillDataset(strConn, CommandType.StoredProcedure, "spSelectClientApplicant", ds, New String()...
6
by: Beren | last post by:
Hi all I'm almost braindead on this one, but how can I create a master/detail datagrid in this format : CatA subcatA1 subcatA2 subcatA3
2
by: Stimp | last post by:
I would like to produce something like: http://redwoodestates.co.uk/forrent.aspx It's either a datalist/repeater/datagrid, but it is broken up into sections ("1 bedroom", "2 bedroom", etc...)...
1
by: Agnes | last post by:
I got master-detail datagrid in my datagrid (invoicedetail) , aim(as the user type the unit price or no of unit), the amount will be calculated and the TOTAL amount can be showed in the form at...
1
by: Larry Woods | last post by:
I have a combobox that is populated with a list of names. When a name is selected I want to populate a datagrid with name information. I have my master-detail defined in my dataset and it works...
3
by: no | last post by:
Hi all, I have a dataset that contain 2 tables and a relationship between them (master detail). I bind this dataset to a form that include some textboxes that bind to the parent record, and a...
5
by: BMeyer | last post by:
I have been losing my mind trying to parse an XML document (with nested child elements, not all of which appear in each parent node) into a DataGrid object. What I want to do is "flatten" the XML...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.