am working on Asp.net C3, SqlServer 2005.
on my web page i have two logins....
one login is for student and the other login is for Teacher.
In student Login I have
Password(TxtStuPassword , and a
and in Teachers Login I have
so, I have took Checkboxes for both the logins.
Generally when Page loads both are enabled = false;
IF am a student, when I ticks the checkbox Student login will be ENABLED. and Teachers login will be Disabled.
OK, I did Till here its running fine.
BUT MY PROBLEM is I need Validations when Submit button click. When user not enters and click on student submit button. it must show error.
My REquirement is HOW TO GIVE VALIDATIONS FOR 2 SUBMIT BUTTONS IN one Page.
Please help me, Thanks for ever.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)