如何使用内置的登录控件与sqlserver db(sqlserver中的aspnetdb.mdf文件) [英] how to use built in login controls with sqlserver db (aspnetdb.mdf file in sqlserver)

查看:99
本文介绍了如何使用内置的登录控件与sqlserver db(sqlserver中的aspnetdb.mdf文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将aspnetDB.mdf的表添加到我自己的数据库中(通过向导,我们通过VS命令提示符下的aspnet_regsql命令获得)。现在我想在我的db中使用内置的Login Controls,它在sqlserver中可用。所以问题是我仍然可以直接使用Login控件而不需要像Visual Studio自动为我们添加aspnetDB.mdf并管理所有内容时那样编程。

我需要做的额外工作是什么。什么是web配置中的连接字符串???

i搜索很多,但找不到任何简单的指南; - (

I have added aspnetDB.mdf's table into my own database (through wizard which we get by aspnet_regsql command on VS command prompt). Now i want to use built in Login Controls with my db which is available in sqlserver. So the question is can i still use Login control directly without any programming like we do when Visual Studio automatically add for us aspnetDB.mdf and manage all the things.
what is the extra work i need to do. what will be the connection string in web config???
i search alot but not find any easy guide;-(

推荐答案

试试这个:



http://forums.asp.net/t/1246174.aspx/1 [ ^ ]


这篇关于如何使用内置的登录控件与sqlserver db(sqlserver中的aspnetdb.mdf文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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