|
-
Aug 19th, 2005, 12:32 PM
#1
Thread Starter
New Member
Format String to Date from Database when Binding to DataGrid
I have a table in a sql db that stores the date as a string ex: 081905, I was wondering if there were an easy way to format the string to a date format "MM/DD/YY" when I bind it to a DataGrid so the display would be "MM/DD/YY".....
Any suggestions....
Thanks
-
Aug 19th, 2005, 04:37 PM
#2
Frenzied Member
Re: Format String to Date from Database when Binding to DataGrid
Use the String.Format function.
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|