如何使用内置的登录控件与sqlserver db(sqlserver中的aspnetdb.mdf文件)

编程入门 行业动态 更新时间:2024-10-28 03:31:41
本文介绍了如何使用内置的登录控件与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;-(

推荐答案

试试这个: forums.asp/t/1246174.aspx/1 [ ^ ]

更多推荐

如何使用内置的登录控件与sqlserver db(sqlserver中的aspnetdb.mdf文件)

本文发布于:2023-11-12 16:46:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1582010.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何使用   控件   文件   mdf   db

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!