My item template in gridview is marked up like this.
Where do I add the
tags?
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<% Eval("datacol") %>'
</asp:Label>
</ItemTemplate>
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.
Since I realize this is related to your previous question: ASP.Net Binding to Gridview Strips some space (whitespace characters)
Please refer to my answer in that question. The same principle could be used to add any type of tags around your DataBound values. For this specific question, an approach like this could accomplish what you want.