Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > GridView Nested - Is it Possible?

Reply
Thread Tools

GridView Nested - Is it Possible?

 
 
manmit.walia@gmail.com
Guest
Posts: n/a
 
      09-27-2006
Hello All,

I have a question hopefully some ASP.NET Guru can answer. I am trying
to build a nested style GridView for users to pull reports from a SQL
Database. The question is, "Can I create a GridView with the following
structure?" I know I can put GridViews' in columns but was wondering if
we can just do it in rows.

STRUCTURE:

I have 3 GridViews; A, B, and C.

In GridView A (THE TOP ONE), I have 5 rows. The rows are as follow.

ROW 1 = Header 1 ('Capital')

ROW 2 = GridView B (with its own header and footer [No Paging or
Sorting])

ROW 3 = Header 2 ('Operational')

ROW 4 = GridView C (with its own header and footer [No Paging or
Sorting])

ROW 5 = GridView A Footer

 
Reply With Quote
 
 
 
 
manmit.walia@gmail.com
Guest
Posts: n/a
 
      09-28-2006
What I want to display in the Footer of GridView A, is a calculated
field of each columns for GridView B and C.

So Basically,

GridView A - Footer Row - Column 1.= (Look Down)

[Grid View B Footer Row;Column 1] + [Grid View C; Footer Row; Column 2]

Example:

Column 1(Footer) of Gridview B = 10
Column 1(Footer) of Gridview C = 15

THUS

Column 1(Footer) of Gridview A = 25


Hope you understand what I am trying to write.

Thanks in advance for your help.


Gaurav Vaish (www.EduJiniOnline.com) wrote:
> > I have a question hopefully some ASP.NET Guru can answer. I am trying
> > to build a nested style GridView for users to pull reports from a SQL

>
> What's the purpose of GridView 'A'? Do you really need it?
> How about a simple table?
>
>
> --
> Happy Hacking,
> Gaurav Vaish | http://www.mastergaurav.com
> http://www.edujinionline.com
> http://articles.edujinionline.com/webservices
> -------------------


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GridView RowCommand problem: GridView Nested in Repeater HeavyMetal ASP .Net Web Controls 0 08-08-2006 01:17 PM
GridView Hierarchical View - Gridview in Gridview =?Utf-8?B?bWdvbnphbGVzMw==?= ASP .Net 1 05-09-2006 06:48 PM
GridView nested in DataList - refreshing corresponding DataList row after updating GridView row H5N1 ASP .Net 0 04-26-2006 11:41 PM
Nested Vector Nester Classes are Nested in my Brain Chad E. Dollins C++ 3 11-08-2005 04:46 AM
Nested iterators (well, not nested exactly...) Russ Perry Jr Java 2 08-20-2004 06:51 PM



Advertisments