| | |
code for validation(asp.net 3.5)
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2009
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.
•
•
Join Date: Nov 2008
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
- Simple ASP.Net Login Page using C# (C#)
- Updated : Simple ASP.Net Login Page (ASP.NET)
- Forms Authorization/ Authentication using asp .net and vb .net (ASP.NET)
- 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)
Other Threads in the C# Forum
- Previous Thread: Create a PHPBB3 Forum Topic from a C# application.
- Next Thread: Simple Question??
| Thread Tools | Search this Thread |
.net access algorithm array asp barchart bitmap box broadcast buttons c# check checkbox client column combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development display draganddrop drawing encryption enum equation event excel file form format formbox forms formupdate function gdi+ httpwebrequest image index input install java label linux list listbox mandelbrot math mouseclick mysql networking operator packaging parse path photoshop picturebox pixelinversion post powerpacks programming radians regex remote remoting reporting richtextbox robot server sleep socket sql statistics stream string table text textbox thread time timer transform treeview update usercontrol validation visualstudio webbrowser wfa windows winforms wpf xml






