mrcoulson
asked on
How can I add a comma or @ to a DataFormatString
I have the following dataformatstring in a gridview to format a date. It works quite well, but I'd like to put a comma or @ between the date and time just to be fancy and make the department who's getting this app a little more enthused when they see it.
The string is:
0:M/dd/yyyy h:mm tt
The string is:
0:M/dd/yyyy h:mm tt
dt.ToString("0:M/dd/yyyy @ h:mm tt")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Wow. Had no idea it would be so simple. Lord. Thanks!