Click here to Skip to main content
15,921,212 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i want to Add in One Gridview I sgould insert another Gridview is it Possible.
Posted
Comments
Sandeep Mewara 11-Apr-11 10:52am    
What? Hierarchical gridview you talking of?

yes it is very much possible.


try this link
Click[^]

OtherLink[^]
 
Share this answer
 
v2
Comments
anilkumar1986 11-Apr-11 1:49am    
so using Template right
Yes you can add a Child Gridview inside an Template Control of a Parent Gridview and bind the Child Gridview in the Row Databound Event of Parent GridView.

HTH.

Vishal
 
Share this answer
 
Comments
anilkumar1986 11-Apr-11 2:50am    
Than You Very Much
This is very much possible.Insert a gridview and take gridviewTasks..Then take Edit Colums in that. Disable autogenerate field in that and add some bondfields..Then click on edit template and add another gridview...
 
Share this answer
 
You can do it.
Its simple.
You just need the connection to your database and the proper call of the function
and its defination.
I mean as soon as add content into first datagird view you just need to inform the system
which cell you are editing of what ID.
And the thus you can update the data into second grid view.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900