DRILL DOWN DATAGRIDVIEW

Hi All,

I want to have a custom drill down datagridview.

How could I do it ?

Thank you.
LVL 1
emi_sastraAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Avinash DesaiSr Software EngineerCommented:
Hi

Create a custom Control on the Row  double Click event of the data gridview Create a new Gridview or Load the data to the same gridview using Case Statement.

Regards
Avinash Desai
emi_sastraAuthor Commented:
Hi Avinash_Desai,

I don't know how to code it.

Would you please provide code how to do it?

Thank you.
Avinash DesaiSr Software EngineerCommented:
Hi

Sorry for the late reply

Please refer the file attached for the code and follow the below steps


1. open the file Form1.vb in text file and copy entire coding
2. Create a new Project and new form and paste the code after adding the Datagriview to the Form
and name the Datagridview as  DVGDrillDown
3. Set the DVGDrillDown properties
AutogenerateRows=False
and make it read only


Still any problem please let me know

If i am wrong let me know

Regards
Avinash Desai Form1.txt
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

emi_sastraAuthor Commented:
I can not find AutogenerateRows property ?

Thank you.
Avinash DesaiSr Software EngineerCommented:
Sorry check for

AllowUserToAddRows=False

Let me know the code working now?
emi_sastraAuthor Commented:
I don't understand you code do.

I think you misunderstand my question ?

What I mean drill down is like a tree.

Thank you.
Avinash DesaiSr Software EngineerCommented:
hi

Then check out this link

http://blogs.msdn.com/b/markrideout/archive/2006/01/08/510700.aspx

Regards
Avinash
emi_sastraAuthor Commented:
I have checked this link but can not find the code provided there.

http://www.windowsforms.net/blogs/markrideout/treegridview.zip

Thank you.
Avinash DesaiSr Software EngineerCommented:

Hi

The Link shared is invalid

Please check in this link

http://www.windowsclient.net/blogs/markrideout/treegridview.zip

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
emi_sastraAuthor Commented:
That's great.

Thank you very much for your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.