Click here to Skip to main content
15,900,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I have used two datalist in my project. Datalist2 is nested within datalist1. I mean datalist1 is parent datalist and datalist2 is child datalist.

Now my question is how to get parent's datalist's keyvalue inside child datalist?

I have 1 textbox and 1 button inside nested datalist so, when I click on button that time I need parent datalist's datakey to store data in database.

Please reply.

Thanks.
shailesh prajapati
Posted
Updated 26-Dec-10 20:44pm
v2

1 solution

This How to get parent datalist value from child datalist in .net[^] is a similar question which has already been answered. You may get help from this.
 
Share this answer
 
Comments
Kasson 27-Dec-10 3:35am    
Good Call

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