I need to dynamically modify the contents of a column in a GridView1 before it is displayed. Basically, I need to convert every ‘Environment.NewLine’ in a field to a
so it displays as a new line on an ASP.NET page.
How do I do this?
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.
You can use the RowCreated event to alter rows as they have been created and then edit specific columns. I think to get the columns you use