I’d like to tinker with the auto-generated columns in a gridview a bit. What event would I want to override to modify them just after they are generated but before the control is rendered?
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.
Check out this link for more information on Customizing the Auto-Generated Columns of a GridView Control:
http://msdn.microsoft.com/en-us/library/cc903950(VS.95).aspx
The particular event you are looking for would be the
AutoGeneratingColumneventMore information on the AutoGeneratingColumn event