简单的在线注册/登录c#? [英] Simple Online Register/Login c# ?

查看:130
本文介绍了简单的在线注册/登录c#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我是c#的新手,我正在研究一个项目。我正在尝试编写注册/登录系统



我们有3个表格



1-登录

2-注册

登录后形式(我们的主要)



我找到了很多关于它的教程,但都是本地的



i需要在线完成。



登录后我们需要在标签中显示用户名称主要表单的顶部。



注册表格设计:

用户名:

密码:



RegisterButton







谢谢

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

推荐答案

引用:

我发现了许多关于它的教程,但所有这些都是本地的

i需要在线进行。

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



您需要为此发布您的网站。



您可以在本地发布它,因为您需要配置重新IIS:

IIS特定:

1.在IIS7中:在IIS 7.0上部署ASP.NET网站 [ ^ ]

2.在IIS6中:在IIS上部署网站 [ ^ ]



要在互联网上发布,请参阅以下主题:

创建您的第一个网站:发布您的网站 [ ^ ]

发布您使用Dreamweaver的网站 [ ^ ]

使用Dreamweaver发布网站 [ ^ ]

如何部署ASP.NET Web应用程序服务器 [ ^ ]

使用WebMatrix将网站发布到互联网 [ ^ ]


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[^]


试试这个:)



使用Asp.Net,C#.Net和Sqlserver创建一个简单的注册或注册和登录或登录表单[ ^ ]


如果您只是需要在本地游戏登录和其他内容...... 。



只需根据需要创建一个包含表格的数据库..例如登录..您可以创建一个包含登录名和密码等列的表格...



在页面中创建连接字符串..获取用户名和密码的值由用户在文本框中输入为文本..并使用数据库中的值检查它们...如果找到适当的允许或其他错误..以相同的方式..您也可以进行注册...



你可以创建一个字符串..获取用户在文本框中输入的值,然后将它们保存在为注册创建的数据库表中....





希望能提供帮助...



供参考,请参阅以下链接...





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



http://www.techimo.com/forum/webmastering-programming/168066-sql-connection-string-c.html [ ^ ]
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[^]


这篇关于简单的在线注册/登录c#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆