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?