Click here to Skip to main content
15,877,967 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am very new to c# and i am working on a project.I am trying to code a register/login system

We have 3 form

1- login
2- register
3- form after login(our main)

I found many tutorials about it but all of them are local

i need to do it online.

After login we need to show users name top of main form in a label.

Register form design:
Username:
Password:

RegisterButton



Thanks
Posted

Quote:
I found many tutorials about it but all of them are local
i need to do it online.

You need to publish your website for that.

You can publish it on local for that you need to configure IIS:
IIS Specific:
1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]

To publish it on internet refer following threads:
Creating your first website: Publishing your website[^]
Publishing Your Website with Dreamweaver[^]
Publish Website with Dreamweaver[^]
How to deploy ASP.NET Web Application on server[^]
Publish a Website to the Internet Using WebMatrix[^]
 
Share this answer
 
 
Share this answer
 
v2
well if you simply required a login and other stuff for your game at local......

Simply create a database with tables according to your need.. for example for login.. you can create a table with columns like login name and password...

create a connection string in your page.. get the values of username and password entered by user in textboxes as text.. and check them with the values in database...if found appropriate allow or else error.. in the same way.. you can do the signup as well...

you can create a string.. get the values entered by user in textboxes and just save them in database table created for signup....


Hope that gonna help...

for reference see the links below...


http://www.w3schools.com/sql/sql_create_table.asp[^]

http://www.techimo.com/forum/webmastering-programming/168066-sql-connection-string-c.html[^]
 
Share this answer
 
I am not coding a website just a login/register form for my little game :)
 
Share this answer
 
Comments
VICK 14-Jun-13 5:45am    
Try to use the option "Have a Question or Comment?" rather than using Solution option...
I took a database from freesqldatabase.com those tutorials shows all local. how to connect this database ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900