rado
10-14-2004, 04:09 AM
I have a label in a template column in a asp:datagrid that is bounded to a database.
Some strings in the database have spaces at the begining.
How can I make a label not to trim those spaces, because I need to show them in the datagrid, or can I use anything else?
The textbox doesn't make the trim but I can't use it because it doesn't enlarge the cell in case the string is too long, and I would have to make it multiline. This is not good because it will have the vertical scrollbar.
Thank you for your time
Some strings in the database have spaces at the begining.
How can I make a label not to trim those spaces, because I need to show them in the datagrid, or can I use anything else?
The textbox doesn't make the trim but I can't use it because it doesn't enlarge the cell in case the string is too long, and I would have to make it multiline. This is not good because it will have the vertical scrollbar.
Thank you for your time