I have a gridview which is databound, I want to dynamically add a row with data that I define and away from the databound data, how can I do it?
Share
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.
On Client Side
using DOM or jQuery to add new row.
On Server Side
You must inherit GridView control and override Render function to modify output HTML.
But I don’t suggest you to this. Because It break beatiful of OOP programming and It hard to debug when error occur.