TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Brian
NA
1
0
String Format
Jan 19 2009 5:36 PM
I am getting my date from database. I have declared a string dictionary to parse my date by string format. when i call my date is showing like 30/00/09.
here is the part of my code
if (Order[i].ShipDate > DateTime.Now)
{
XRecord.Add("SHIPDATE", String.Format("0:yy/mm/dd",Order[i].ShipDate));
}
if (XRecord.Count > 0)
{
//OrderExport.AppendFormat("X,W{0:MM}{1:00000}", Order[i].OrderDate, Order[i].OrderNum % 100000);
OrderExport.Append(string.Format("X,W{0:MM}{1:00000}", Order[i].OrderDate, Order[i].OrderNum % 100000).ToUpper());
foreach (KeyValuePair<string, string> entry in XRecord)
{
OrderExport.Append(string.Format(",{0},{1}", entry.Key, entry.Value).ToUpper());
}
OrderExport.AppendLine();
}
please help
Reply
Answers (
2
)
Crystal report document load with report document's object.
Cannot load image file - Out of memory exception