I have a datagrid with one of the columns being date.
Under this I have a form with a datebox and a button. When you click the button the datebox value should be checked against all the dates in the datagrid before writing it to the database.
How can I go through the dates for comparison?
I'll use it in the onclick sub in my codebehind.