如何使用Visual Studio 2012中的Login.aspx模板来使用Access数据库? [英] How do I use the Login.aspx template in Visual Studio 2012 to work with my Access database?

查看:87
本文介绍了如何使用Visual Studio 2012中的Login.aspx模板来使用Access数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在尝试使用Visual Studio 2012在新ASP.NET项目中提供的现有Login.aspx模板。但是,我不知道如何按钮似乎内置到模板中,因此我无法生成事件处理程序...有谁知道如何利用此模板来创建功能登录我的系统验证了我的 Access 数据库中的用户详细信息?



非常感谢!

Hi,

I'm trying to use the existing Login.aspx template that Visual Studio 2012 provides in a new ASP.NET project. However, I'm not sure how to as the button seems to be 'built in' to the template and so I cannot generate an event handler...Does anyone know how I could utilise this template in order to create a functioning login for my system that validates user details from my Access database?

Many thanks!

推荐答案

这会有点棘手,但有2篇好文章(不是由我测试)解释了步骤。第一个是 http://blog.krisvandermast.com/UsingAccessInsteadOfSQLServerForYourASPNETApplicationServices.aspx



对于Visual Studio 2012(.Net 4.0框架),您可以在以下位置检查MSDN示例: http://msdn.microsoft.com/en-us/library/44w5aswa.ASPX 但这看起来像是一个复杂的。不要忘记还要检查如何:示例成员资格提供程序实现。链接显示一个很好的工作示例的同一篇文章
This would be a little tricky but there are 2 good articles (not tested by me) that explains the steps. The first one is http://blog.krisvandermast.com/UsingAccessInsteadOfSQLServerForYourASPNETApplicationServices.aspx

For Visual Studio 2012 (.Net 4.0 framework) you can check the MSDN sample at: http://msdn.microsoft.com/en-us/library/44w5aswa.ASPX however this looks like a compliacted. Do not forget to also check the "How to: Sample Membership Provider Implementation." link on the same article that shows a nice working example


这篇关于如何使用Visual Studio 2012中的Login.aspx模板来使用Access数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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