473,386 Members | 1,733 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,386 software developers and data experts.

nested datagrids in rows

Hi.
I wonder is there is a way to displaya datagrid inside another datagrid
but not inside of a column, but inside of a row. imagine a datagrid with
one column and the data displayed in this way:

row 1: Name1
row 2: Description1
row 3: Another DataGrid with Name1 details

row 4: Name2
row 5: Description2
row 6: Another DataGrid with Name2 details

..
..
..

thanks for your help
DPE

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
4 2236
sure this is entirely possible but i'd reconsider if i were you because you
quite likely will overwhelm the user with too much information. users can
only grasp small quantities of data at a time which is why you should have
details button instead allowing for drillthrough capabilities. Anyhow, if
you want to add a datagrid in your case, you can trap the itemdatabound
event handler and add a datagrid control to the cell
e.item.cells[0].controls.add(new datagrid());
roughly

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"David Perez Essenwanger" <da***********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi.
I wonder is there is a way to displaya datagrid inside another datagrid
but not inside of a column, but inside of a row. imagine a datagrid with
one column and the data displayed in this way:

row 1: Name1
row 2: Description1
row 3: Another DataGrid with Name1 details

row 4: Name2
row 5: Description2
row 6: Another DataGrid with Name2 details

.
.
.

thanks for your help
DPE

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #2
sure this is entirely possible but i'd reconsider if i were you because you
quite likely will overwhelm the user with too much information. users can
only grasp small quantities of data at a time which is why you should have
details button instead allowing for drillthrough capabilities. Anyhow, if
you want to add a datagrid in your case, you can trap the itemdatabound
event handler and add a datagrid control to the cell
e.item.cells[0].controls.add(new datagrid());
roughly

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"David Perez Essenwanger" <da***********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi.
I wonder is there is a way to displaya datagrid inside another datagrid
but not inside of a column, but inside of a row. imagine a datagrid with
one column and the data displayed in this way:

row 1: Name1
row 2: Description1
row 3: Another DataGrid with Name1 details

row 4: Name2
row 5: Description2
row 6: Another DataGrid with Name2 details

.
.
.

thanks for your help
DPE

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #3
Thank you for your reply.
the reason i am doing this is to show in the browser all the tables that
exists in any database with all the fields, including their descriptions
for documentation purposes.
thanks for your recommendation
DPE
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #4
Thank you for your reply.
the reason i am doing this is to show in the browser all the tables that
exists in any database with all the fields, including their descriptions
for documentation purposes.
thanks for your recommendation
DPE
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #5

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

Similar topics

0
by: Eddie B. | last post by:
Is it possible to do nested datagrids for Windows Forms?
2
by: DelphiBlue | last post by:
I have a Nested Datagrid that is using a data relations to tie the parent child datagrids together. All is working well with the display but I am having some issues trying to sort the child...
0
by: Bob Hoke | last post by:
I am trying to do some of the things we used to do in classic ASP that required some pretty ugly loops in the .ASP page. I have two different DataSets that each have a DataView that I can change...
1
by: Dave | last post by:
I have a datagrid with another datagrid in a template column. For the second datagrids datasource I use container.dataitem.createchildview("relationship") I want to discover if the nested...
2
by: Josh | last post by:
Hi Guys, I have been stuck on this problem for several days now, i have a set of nested datagrids. Inside the second datagrid i have a dropdown list, a textbox and a label. I want the textbox...
1
by: Neil | last post by:
Does anyone know where there is some examples of nested datagrids in vb.net not using ASP.net or Does anyone know how to link using nested datagrids in vb.net not using ASP.net (eg where...
3
by: Mark Wiewel | last post by:
hi all, i am a newbie in ASP.NET and i couldn't find the solution to this one: i have a form with three datagrids on it. i would like to align them vertically with a space between each grid of...
6
by: Steve Hershoff | last post by:
Hi everyone, I've got a strange one here. There are two datagrids on my page, one nested within the other. I'll refer to them as the topmost and secondary datagrids. In the topmost...
1
by: tshad | last post by:
I am trying to find the differences between handling of DataGrids in Windows Forms and Asp.Net. They are completely different in how you bind to them, get number of rows, look at columns and...
2
by: GISmatters | last post by:
I have unbound checkboxes in a nested gridview to allow multi-selection of "child" rows. For context, the parent gridview rows are for large "reports", the child rows are for various specific files...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.