Link to home
Create AccountLog in
Avatar of Sivasan
SivasanFlag for United States of America

asked on

Validating fields in datagrid in vb.net 2003

Hi There,
I have a form in Vb.net 2003 which displays data from backend access table.I have a datgrid, named datagrid1 displaying the result of a query created using the oledbdataadapter wizard.
I have a senddate which is a date field which would be the second field on the datagrid1, i like to know how I validate the field so when user enters a date, I throw a warning if the date is either saturday or sunday.
I have two button, one button to see the results of the query which display data on the datagrid1.
After the user enters data, if the user decides to save data, they will use another button to save the data back to the access table.
How can I validate the senddate field, so throws a warning when they enter a weekend date.
thanks
S
ASKER CERTIFIED SOLUTION
Avatar of dj_alik
dj_alik

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account