select * from tblEmp
where convert(datetime,convert(varchar(10),a.DueDate +
i want to get the values of
to execute this query and bind data in a grid..how can i do this.
please provide me code by example..
thank you
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaish MathewsRank #225 · 11K reputationPosted Mar 30, 2010, 5:27 AM EDT
"select * from tblEmp
where convert(datetime,convert(varchar(10),a.DueDate + " + Int.Parse(Textbox1.Text) + ",101)) <= convert(datetime,convert(varchar(10),getdate(),101))"