473,516 Members | 2,865 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Master - Detail Examples

Does anyone know of any good master-detail examples? I'm looking for as simple as you can get - with the ability to edit, add, and delete records.

My trouble is that the main table i'm working with has a bazillion fields so therefore a datagrid would grow way too wide for the page and would look tacky. Therefore I want the datagrid to have only 4 or 5 basic fields and when a user clicks on one of the rows - below the grid there will be a datalist which will have more detailed information and allow edit, and delete.

Where it get's really hairy is how to do this with as little code as possible - so I am trying to let my data adapters and datasets handle the updates and such as much as possible.

Anyone know of any good examples with regards to what I've described?
Nov 17 '05 #1
2 1999
You can check out these two articles, this might help you.
http://www.microsoft.com/india/msdn/...0DataGrid.aspx
http://www.microsoft.com/india/msdn/...rQuestions.asp
x

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Demetri" <an*******@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
Does anyone know of any good master-detail examples? I'm looking for as simple as you can get - with the ability to edit, add, and delete records.
My trouble is that the main table i'm working with has a bazillion fields so therefore a datagrid would grow way too wide for the page and would look
tacky. Therefore I want the datagrid to have only 4 or 5 basic fields and
when a user clicks on one of the rows - below the grid there will be a
datalist which will have more detailed information and allow edit, and
delete.
Where it get's really hairy is how to do this with as little code as possible - so I am trying to let my data adapters and datasets handle the
updates and such as much as possible.
Anyone know of any good examples with regards to what I've described?

Nov 17 '05 #2
You can check out these two articles, this might help you.
http://www.microsoft.com/india/msdn/...0DataGrid.aspx
http://www.microsoft.com/india/msdn/...rQuestions.asp
x

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Demetri" <an*******@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
Does anyone know of any good master-detail examples? I'm looking for as simple as you can get - with the ability to edit, add, and delete records.
My trouble is that the main table i'm working with has a bazillion fields so therefore a datagrid would grow way too wide for the page and would look
tacky. Therefore I want the datagrid to have only 4 or 5 basic fields and
when a user clicks on one of the rows - below the grid there will be a
datalist which will have more detailed information and allow edit, and
delete.
Where it get's really hairy is how to do this with as little code as possible - so I am trying to let my data adapters and datasets handle the
updates and such as much as possible.
Anyone know of any good examples with regards to what I've described?

Nov 17 '05 #3

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

Similar topics

0
890
by: Demetri | last post by:
Does anyone know of any good master-detail examples? I'm looking for as simple as you can get - with the ability to edit, add, and delete records. My trouble is that the main table i'm working with has a bazillion fields so therefore a datagrid would grow way too wide for the page and would look tacky. Therefore I want the datagrid to have only...
2
423
by: ruca | last post by:
Hi, I have a master and a detail datagrid. I put detail grid showing insise of a column of master grid. The problem is that it's not what I really want. What I really want would be that the detail grid appears between rows of master grid, i.e., when I select one record in master grid that detail grid appears between the selected row and...
3
1557
by: sqlboy2000 | last post by:
Hi, I've just started playing around with master / detail pages and I'm trying to simply change the detail page displayed in the contentplaceholder control from code behind. I can't seem to find any examples of this. Does anyone know how to do this? Thanks in advance.
1
2171
by: Sam | last post by:
Attached I am sending 2 URL's from MSFT ASP.net Quick Start Tutorial Web Site. 1) Run it URL: http://www.asp.net/QuickStart/aspnet/samples/data/GridViewMasterDetai... 2) View Source URL: http://www.asp.net/QuickStart/util/srcview.aspx?path=~/aspnet/samples...
0
1286
by: Sam | last post by:
Sorry to post the same post multiple times but the URL Addresses were not Correct in Earlier Posts. Here are the correct URL's: 1) Run It URL is here: http://www.asp.net/QuickStart/aspnet/samples/data/GridViewMasterDetailsInsertPage_vb.aspx
1
1515
by: Gary200 | last post by:
Hello All, I bind two datagrids in a master-detail relationship successfully. What I want is to set allowNew and allowDelete disabled in both datagrid using dataview. The code like this: Dim masterGrid As DataGrid Dim detailGrid As DataGrid
7
4529
by: john | last post by:
In my form I have a master table and a details table linked 1xM. I can search through the whole parent table but I also like to be able to search through the child table fields to find parent records. Should I design a new form for this or can I somehow make this work in the same form. Thanks in advance, john
0
1702
by: Mike Wilson | last post by:
Dear group, I have an invoice entry form, which is a simple Master fields / Detail grid. The main summary information of the invoice are stored in one table in a dataset, which is bound using a BindingSource (InvoiceBindingSource). The line details of each item in the invoice is held in a child table which is bound to another bindingsource...
2
2266
by: John | last post by:
Hi I am trying to create a master/detail form. I have my master and details tables dragged onto the dataset. I have also dragged the fields from master table on the form which has created the navigation toolbar for me and which works fine with the master table. I also have a dataview on the same form ready for detail table but as yet not...
0
7182
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7408
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7548
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5714
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4773
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3259
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1624
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 we have to send another system
1
825
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
488
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.