hi,
i want to wrap a text in a tablecell or datagrid using .net.
i want to display the values in the table. if the contents is longer than 20 characters then i want to wrap the text to next line.
how to display it
thanking youHow to wrap a text in tablecell or datagrid using .net?
In the code for the datagrid column insert the following:
ItemStyle-Wrap=';TRUE';
Here's the full line I have in that grid column:
%26lt;asp:BoundColumn HeaderText=';Last Name'; DataField=';LastName'; ItemStyle-Wrap=';true'; SortExpression=';LastName'; /%26gt;
No comments:
Post a Comment