Using C# & Mysql
When i get the input date in the textbox it should compare with date from table, if it is equal it should throw error message, it should allow only the greater than date
For Example
Table1
ID Date
001 2010-08-05
002 2010-08-02
....
When i enter the date in the textbox like - 2010-08-04, it should compare with Date in the table1, if it is equal or less than max(date) from table1 then it should throw a error message, otherwise it should allow to insert a date.
Am new to mysql & c#, How to do this in c# & Mysql.
Need some code help.