469,575 Members | 1,662 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

Check If Username Exsists

Hi,

just getting started on ASP.NET and C# and MS-SQL.

Ive managed to get all the connections working and database
intergrated nicely for content and stuff.

I now want to include a user registration form through a 4 step
process asking for various bits of info. I think I can get the data
passed one page to the next and then into the database when the user
presses confirm/register.

Problem I have is, how do I get the form to check the database to see
if the username already exsists ?

Any help appriciated as always.

H
Nov 17 '05 #1
1 1243
Be carefull not to confuse ASP.NET with traditional ASP.
In asp.net you don't need 4 separated pages, but only 1
web form and multiple panels that represent your
registration steps. This is the easiest way to do it.
Using 4 webform require passing data accross them, and
these are complications that you don't need (I'm not
saying is not possible, I'm just trying to avoid you
writting unnecesary code).

The right way to do the username validation, is to use a
CustomValidator control pointed to the control where the
user types the username.
-----Original Message-----
Hi,

just getting started on ASP.NET and C# and MS-SQL.

Ive managed to get all the connections working and databaseintergrated nicely for content and stuff.

I now want to include a user registration form through a 4 stepprocess asking for various bits of info. I think I can get the datapassed one page to the next and then into the database when the userpresses confirm/register.

Problem I have is, how do I get the form to check the database to seeif the username already exsists ?

Any help appriciated as always.

H
.

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Christina | last post: by
4 posts views Thread by Simon Gare | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.