PC Review


Reply
Thread Tools Rate Thread

Check If Username Exsists

 
 
Harry
Guest
Posts: n/a
 
      27th Oct 2003
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
 
Reply With Quote
 
 
 
 
Esteban Felipe
Guest
Posts: n/a
 
      27th Oct 2003
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

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
>.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If value already exsists in range.... Biff Microsoft Excel Programming 5 28th Oct 2005 08:10 AM
username & password check Jack Microsoft Excel Discussion 6 9th Oct 2004 01:40 AM
username & password check Jack Microsoft Excel Programming 6 9th Oct 2004 01:40 AM
Check if Userform exsists before deleting via VB Rich Microsoft Excel Programming 1 19th Sep 2003 05:10 AM
username check eric Microsoft Access Security 1 25th Jun 2003 03:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:32 AM.