How to use datetime variable inside sql query in windows form application.
When i am writing date>'11/12/207' it works fine.but when i use parameter like date>"+new_date+" it does not work.
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
Amit GuptaRank #190 · 12.8K reputationPosted Mar 31, 2017, 10:36 AM EDT
Satyaprakash SamantarayRank #101 · 21.1K reputationPosted Apr 25, 2017, 10:55 PM EDT
Satyaprakash SamantarayRank #101 · 21.1K reputationPosted Apr 26, 2017, 3:43 AM EDT
Vinitha TRank #8,005 · 230 reputationPosted Nov 15, 2021, 7:50 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Mar 31, 2017, 9:34 AM EDT
Shibly Sadik154 reputationPosted Mar 31, 2017, 10:27 AM EDT
Tapan PatelRank #614 · 3.9K reputationPosted Mar 31, 2017, 1:41 PM EDT