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
Ahsan Nadeem
NA
35
892
Input string not in correct format
Mar 21 2017 1:00 AM
String dd = DateTime.Now.ToString("MM/dd/yyyy");
var BookingInfo = (from x in db.BookingInformations
where ((Convert.ToInt32(x.Date.ToString())) <= (Convert.ToInt32(dd.ToString())))
select x.Date)
I am comparing to date but every time I am getting error 'Input string not in correct format'
What I am doing wrong?
Reply
Answers (
1
)
Add two columns value and show total in another column
Show Records IN GridView....