如何使用sql数据库在html中创建登录表单 [英] how to create a login form in html with sql database
本文介绍了如何使用sql数据库在html中创建登录表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
这是vikash kumar
我正面临创建登录表单而我想要的从sqlserver 2008访问数据怎么做。
用javascript和。
谢谢和关注
Vikash kumar
Hi
This is vikash kumar
I am facing to create login form and i want to accessing data from sqlserver 2008 How to do that.
with javascript and.
Thanks and regard
Vikash kumar
推荐答案
最好的办法就是实现会员资格: http://msdn.microsoft.com/en-us/library/yh26yfzy.ASPX [ ^ ]
如果您特别需要SQL数据库用于保存您的登录信息,然后您只需提供自定义成员资格提供程序: http://msdn.microsoft.com/en-us/library/f1kyba5e(v = vs.100).aspx [ ^ ]并且系统仍然有效。
The best way is just to implement Membership: http://msdn.microsoft.com/en-us/library/yh26yfzy.ASPX[^]
If you specifically need an SQL database to hold your login info, then you just have to provide a custom membership provider: http://msdn.microsoft.com/en-us/library/f1kyba5e(v=vs.100).aspx[^] and the sytem will still work.
Visual Studio中的新建项目向导将为您创建一个网站,完成具有成员资格和角色的工作认证系统。
在VS2013中浏览: http://www.asp.net/visual-studio/overview/2013/creating-web-projects-in-visual-studio [ ^ ]
从字面上看,点击将设置黑麦数据库,架构,管理页面等所有内容。
The New Project wizards in Visual Studio will create a website for you, complete with a working authentication system with membership and roles.
Walk through in VS2013: http://www.asp.net/visual-studio/overview/2013/creating-web-projects-in-visual-studio[^]
Literally a clicks will set up rye database, schema, management pages, etc., everything.
这篇关于如何使用sql数据库在html中创建登录表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文