sending data from html table to code behind
-
hi i was wondering what is the best way to send data in my case, from an html table to the code behind.the data of the table is added dynamically and when user press on the submit button i need to get the data in c# code behind. i dont want to use gridview at this case. my thinking was building a string that will hold all of the table data and then using ajax or hidden field to get it in the code behind. is it the best way to do that? is there a way to pass objects from js to code behind? thank u in advance.. j
-
hi i was wondering what is the best way to send data in my case, from an html table to the code behind.the data of the table is added dynamically and when user press on the submit button i need to get the data in c# code behind. i dont want to use gridview at this case. my thinking was building a string that will hold all of the table data and then using ajax or hidden field to get it in the code behind. is it the best way to do that? is there a way to pass objects from js to code behind? thank u in advance.. j
-
For sending data to Code behind,AJAX is better.By the way all depends on the size of data,if size is small,hidden field is better option.
Cheers!! Brij