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
How do I increase the volume for iPhone system type sounds when my app starts?
How do I improve Stored Procedure execution from SSRS report?
Windows 7 installation - "no drives were found"
PowerEdge 1850 Will Not Boot
SSIS Send Result Set of an SQL Query in Send Mail Task
IE 8 drop list of favorites
TSQL what is the cleanest way to generate a date format of YYYYMMDD
Terminal Server Microsoft Office 2003 upgrade to Office 2007
Open Office Text and python: extract text word by word
Stop excel from splitting imported text containing commas