Save a gridview data which is inside another gridview's Rowdatabound
Hi Experts,
I have a gridview. one of its column has s plus sign. When I click the plus sign it makes the other gridview visible . When I click the minus sign it is invisible. Is there anyway I can save the data of the popup gridview in a dataset or a datatable when the minus sign is clicked. I have attached the screenshots.
ASP.NETVisual Basic.NETC#.NET ProgrammingMicrosoft Development
Last Comment
RadhaKrishnaKiJaya
8/22/2022 - Mon
Kaushal Arora
Hi RadhaKrishnaKiJaya,
I think one work around for you is to loop the html table in jQuery and save the data in XML format in a public variable declared in code file. You can save the data to a public variable using jQuery/JavaScript. This way you can get that XML string in code file and convert that to DataSet or DataTable. This looping will be done in this function
What I meant was to provide me with the run-time Html of the Grid view so that I need not to write the full code behind logic to fill the grid and get things done for you.
I think one work around for you is to loop the html table in jQuery and save the data in XML format in a public variable declared in code file. You can save the data to a public variable using jQuery/JavaScript. This way you can get that XML string in code file and convert that to DataSet or DataTable. This looping will be done in this function
Open in new window
Hope it helps you.
Regards,
Kaushal A