i'm little bit confusion about this ,
what is my requirement is i have a nested gridview in that parent grid i have a PK col, and in my child grid footer template i have a dropdown and textbox and Add linkButton.Click on Add button data has to be stored in temprory datatable.And that table i want to bind in my child Grid,
ParentGrid ChildGrid
Doc_No Material Quantity
1 pipes 10
cubes 2
now what is the issue is after inserting the first row of parent grid details,whenever i insert the 2nd row of parent grid values it's show like this
ParentGrid ChildGrid
Doc_No Material Quantity
1 pipes 10
cubes 2
2 Pipes 10
cubes 2
piping 3
but in 2nd row i'm inserting only piping is 3 but in my temprory DataTable already i have Pipe's and cube's information .So, its displayed all the data in 2nd row.hara i want to try to filtering depending upon the PK col . for that i'm adding in my child grid one more col Doc_no.
Doc_No Material Quantity Doc_no
1 Pipes 10 1
cubes 2 1
2 Pipes 10 1
cubes 2 1
Piping 8 2
now, imagine if this is my temprory datatable , i do filtering the data depending upon the Doc_no col it's easy to displaying .This is my task .
can any one help me to solve this issue...
[edit]Changed question title to meaningful description - OriginalGriff[/edit]