Microsoft
Software
Hardware
Network
Question : easy question
I have this code and not giving me date format correctly...
txt1.Text = String.Format("{0:MM/dd/yy
yy}", reader["date"].ToString())
;
Answer : easy question
Yes you can use any format because the variable is now a datetime.
Check:
http://www.csharp-examples
.net/strin
g-format-d
atetime/
Glad I solved your issue.
Random Solutions
Etherchannel with VMware ESX 4 and Dell m1000e and Cisco 3130G switchblades
Need help inserting a pdf into the body of a email in outlook 2003
how to backup SBS 2008 to folder
Batch File Script Issue
how do i fix (the command cannot be performed because the dialog box is open
Zen cart NavMainLink color change
Cannot delete inactive datastore and other issues
Outlook/OWA error after connecting mailbox to user account
Mac OS 10.4.10 into Intel Core2Duo Desktop PC
installing the package