Link to home
Start Free TrialLog in
Avatar of emi_sastra
emi_sastra

asked on

DRILL DOWN DATAGRIDVIEW

Hi All,

I want to have a custom drill down datagridview.

How could I do it ?

Thank you.
Avatar of Avinash Desai
Avinash Desai
Flag of India image

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
Avatar of emi_sastra
emi_sastra

ASKER

Hi Avinash_Desai,

I don't know how to code it.

Would you please provide code how to do it?

Thank you.
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
I can not find AutogenerateRows property ?

Thank you.
Sorry check for

AllowUserToAddRows=False

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

I think you misunderstand my question ?

What I mean drill down is like a tree.

Thank you.
I have checked this link but can not find the code provided there.

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

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Avinash Desai
Avinash Desai
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's great.

Thank you very much for your help.