code for validation(asp.net 3.5)
Please support our C# advertiser: DiscountASP.NET – 3 Months Free on C# Web Hosting
![]() |
•
•
Posts: 2
Reputation:
Solved Threads: 0
I m using asp.net 3.5(visual studio 2008) and sql server 2005/2000.
I want code for validation of Account number and password. i.e. when user enter the Accountno and password and click submit button it should check the data with that enter in database. If it is correct it should go to next page otherwise show error message..
Also the account no should be of 12 charcters and password of 8 charecters.
I want code for validation of Account number and password. i.e. when user enter the Accountno and password and click submit button it should check the data with that enter in database. If it is correct it should go to next page otherwise show error message..
Also the account no should be of 12 charcters and password of 8 charecters.
•
•
Posts: 44
Reputation:
Solved Threads: 4
Dont get you? Should it just be a simple condition?
If(textbox1.Text.Length>12 && textbox2.Text.Length>8)
sure you will also want it more then 0 as well, but it's the same theory anyways.
If(textbox1.Text.Length>12 && textbox2.Text.Length>8)
sure you will also want it more then 0 as well, but it's the same theory anyways.
.Net Developer - 3D Game Designer
My Portfolio/Blog: http://www.hieu.co.uk
My Portfolio/Blog: http://www.hieu.co.uk
![]() |
Similar Threads
Other Threads in the C# Forum
- Updated : Simple ASP.Net Login Page (ASP.NET)
- Simple ASP.Net Login Page using C# (C#)
- ASP.NET Registration Page (ASP.NET)
- ASP.NET Interview Questions (ASP.NET)
- How is 3Tier architecture implemented in ASP.NET (ASP.NET)
- ASP.Net Security 101 Part 1 (ASP.NET)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
- Forms Authorization/ Authentication using asp .net and vb .net (ASP.NET)
Other Threads in the C# Forum
- Previous Thread: Create a PHPBB3 Forum Topic from a C# application.
- Next Thread: Simple Question??
•
•
•
•
Views: 781 | Replies: 3 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode