p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > C# and C > C# 1.0 > C#
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 23rd, 2006, 06:33 AM
Registered User
 
Join Date: Feb 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Drill down datagrid in C#.net

Hi

I am working on Datagrid in C#.net. I have to create hierarchical/drilldown datagrid such that the datagrid is nested at three levels. I have instantiated one datagrid. Using TemplateColumn,i am adding another datagrid. When + button is clicked this nested datagrid shows the details of that ID. Now i have to go one level down and show records for the item clicked in the second grid. However i cant get which event to use to write code in

Urgent help needed for it

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old February 25th, 2006, 11:23 AM
Authorized User
 
Join Date: Feb 2006
Location: Bluefields, , .
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to MAKO
Default

My friend, all you need to do is to create the datarelations between
the tables you need in the dataset and then bind a Datagrid to that dataset and done.


:-Q Marvin B-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old February 27th, 2006, 01:37 AM
Registered User
 
Join Date: Feb 2006
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi marvin,
I could have used data relations in that but with relations i dont get the expandable and collapsable thing. I want the data to be displayed only for the region the user wish to c and not all at one go. Moreover when i tried using datarelations, i am getting the following error. can u help me out in tht:

"The relation is not parented to the table to which this DataView points"

I checked my query. the parent table has records for order and child table for order details

Thankx

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old April 14th, 2006, 05:30 AM
Registered User
 
Join Date: Jul 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HI VIDHU,
I AM GETTING SAME PROBLEM?

have you found any solution???


zia

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #5 (permalink)  
Old May 1st, 2006, 05:50 PM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Vidhu,

Can you send me the code that you used to create drill down datagrid that is nested at three levels, I need only 2 levels and I am having a difficult time figuring this out.

Thanks,

Renu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #6 (permalink)  
Old May 4th, 2006, 10:56 AM
Authorized User
 
Join Date: Feb 2006
Location: Bluefields, , .
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to MAKO
Default

Guys, you can use a dataset designer (includen in VS) and create the xml squema for your dataset's tables, in there, you can define datarelations between the tables which will therefore make your datagrid show the expandable + signs when you bind that dataset to it.



MAKO - "El super simio"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #7 (permalink)  
Old May 22nd, 2006, 12:12 AM
Registered User
 
Join Date: May 2006
Location: Bangalore, Karnataka, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rajanvash
Default

Hi,

Being a new developer to .NET technologies, i request Marvin to post the code for this drill down data grid solution.

Thanks and Regards,
Rajan Vashisht
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #8 (permalink)  
Old May 23rd, 2006, 03:19 AM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I need this code too. I need hierarchy in datagrid badly. Plz post it.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #9 (permalink)  
Old May 23rd, 2006, 03:44 AM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey i need this code too. I didnt even reach to place when this error is shown. How u make it guys ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #10 (permalink)  
Old May 24th, 2006, 07:07 AM
Friend of Wrox
Points: 242, Level: 4
Points: 242, Level: 4 Points: 242, Level: 4 Points: 242, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2006
Location: Delhi, Delhi, India.
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You have already used buttons (+) one , so use ItemCommand event to write your code.

Bijgupt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where does the drill down goes? dash dev Crystal Reports 0 March 15th, 2008 01:50 AM
Drill-Through baaul BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 September 23rd, 2007 09:08 PM
Drill down issues aldwinenriquez Reporting Services 3 March 3rd, 2006 02:36 AM
Drill down hosefo81 PHP How-To 2 November 28th, 2003 09:46 PM
how to drill down hosefo81 PHP How-To 0 November 21st, 2003 01:14 AM



All times are GMT -4. The time now is 02:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc