I made an asp.net gridview using jQuery to select a row with css and I want to send this row to the server.
I’ve used a Query String but is there a better method to send the row to the server ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your approach seems okay if you need to pass everything, including the markup; otherwise, you can simply take the values in the cells of the row, and put them in hidden input elements and then post the form. As long as you give names to the hidden elements, you can easily retrieve them using: