What format doesn't work that you have tried for the DataFormatString
property?
David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"Savvoulidis Iordanis" <(E-Mail Removed)> wrote
in message news:C51D02B7-14AF-4345-AB69-(E-Mail Removed)...
>I have a character(15) column filled with numbers, in my SQL database. I
>need
> it to display like it does in Access when I set a format for the column,
> like
> "000-000-000-000-000". How do I display the values the same way in a
> gridview
> column? I can't manage to set the DataformatString properly.
>
> TIA
>