DataFormatString Examples

I have included DataFormatString formatting on some columns in a GridView.

These string are able to be setup by the end user but i'm having trouble finding a good list of examples i can include in my end user documentation.

Anyone know some good links ?

eg: {0:C2}, {0:N}, {0:dd/MM/yyyy HH:mm}
What the 0, C, N, etc. mean.

cheers
LVL 3
mpdaltonAsked:
Who is Participating?
 
bruintjeCommented:
Hello mpdalton,

you can start here
source: http://msdn2.microsoft.com/en-us/library/26etazsy(VS.80).aspx
which leads to pages for date and time like
source: http://msdn2.microsoft.com/en-us/library/8kb3ddd4(VS.80).aspx
or numeric
source: http://msdn2.microsoft.com/en-us/library/0c899ak8(VS.80).aspx

hope this helps a bit
bruintje
0
 
mpdaltonAuthor Commented:
perfect, thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.