473,769 Members | 6,248 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

master / child relation using gridview

7 New Member
i have two datatables one master and another child , i bind them to grid views 1 and 2 now in gridview one i have a button if i click on that button based on the relation key i want to get child table popup, and if i click on another button it shold collaps and expand like tree view control. here i am not using any database only with datatables and dataset binding to gridview.

if u know give us some code and if possible related links on this.
Sep 30 '06 #1
0 2333

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2370
by: mekim | last post by:
when I insert a new record into a master record - I need to update the new child record with the autonumbered ID key from the master recor Is there a simple way to do this? I insert the record - then try to find it - then read the key and that seems silly thx for your assistance
4
2305
by: Michael Rodriguez | last post by:
Suppose I have a data entry screen with two strongly-typed datasets, dsCustomers and dsOrders, as the master and child, respectively. Because the two tables in the relationship are in two different datasets, I don't think I can use the DataRelation object to link them. If not, what is the best way to set up the master/detail relationship for the Windows form for these two tables? Should I just use a filter on the child table and...
6
5161
by: needin4mation | last post by:
I have a search box on my master page. The results are on a child page. To do this I changed the postbackurl to the childpage and on the childpage I have an asp:controlparameter matching the name of the control on the master page. The first time I press the button on the master page it goes to the child page, but no results are displayed in my gridview. The second time I press my button (which is still the master page button no other...
0
4322
by: jason | last post by:
Hi, I have a windows forms gridview bound to a table in a dataset with a child table. I have a column where the user needs to select one value from the only the current row's children. the combobox data source is a binding source on the table's child relation (in the same manner as i would bind another grid to view the child rows). When a row is selected, the correct child row data is in the combobox, but for all the other rows'...
1
3699
by: JayD | last post by:
Here is the problem: Using asp.net 2.0 to create a web app with standard master table gridview and child detailsview with insert capability. SQL Server 2000 database on the backend. Using Visual Web Developer for front-end development. I want to insert new records in detailsview based on selected gridview record. All the fields in "INSERT" mode are blank, which is okay EXCEPT that I want the child ID to be that of the selected...
1
1686
by: brian.newman | last post by:
I'm trying to link a gridview to another gridview in a Master-Details architecture. But the Details list isn't filtering like it is suppossed to. It will show all items on page load and it won't remove any items when an item in the Masters list is selected. It shouldn't show anything until an item in the Master's list is selected and then only show the details which are associated with the selected item in the Masters list. I'm new to...
3
1109
by: Hari | last post by:
Hi All, Is there any way to write a CSS kinda header or table definition in Master Page, so that all GridViews in child pages have the same looks? Regards, Prakash.
1
1657
by: jagguy | last post by:
I am using vb.net 1.1 Hi, I am trying to create a master/detail form with Access I am creating a master/detail setup with master records in a textbox and the details are in a datagrid. This is departments tables(master) and details table (table1) linked by deptno, Pk and Fk. i filled the data sets and liked the relation parent to child.
0
1006
by: =?Utf-8?B?U2F2dm91bGlkaXMgSW9yZGFuaXM=?= | last post by:
I want to create a master-detail scenario inside a gridview. The last column is a template column with another gridview inside it, using another datasource for child records. Which syntax should I use to display child records for every master record in the outer gridview?
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9996
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7410
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3963
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
3
2815
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.