Click here to Skip to main content
16,018,418 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have 6 text boxes.
on clicking save button it should check the following
if the value entered in textbox 4 is beginning with 400 then save.
else if value in textbox 4 is not starting with 400 then check with database whether the value exists in database.
if exists save entry
else check for textbox 5. if value in textbox 5 is 29 or 31 then save
else clear field or dont save..
please help me.
i am new to vb.net...
please
i need it very immediately....
Posted
Comments
Sergey Alexandrovich Kryukov 21-Jun-11 21:17pm    
Some statements, no questions here.
--SA

1 solution

Sounds like simple logic. It's pretty obvious what you want, you described it in code. So, try to write code that enforces those rules. Sounds like a good learning exercise to me, and if you get stuck, you can always ask us for specific help. Asking us to do all the work for you, is not really what this forum is for.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900