如何将日历控件与 ASP.NET 中现有的会员系统连接?
我在 ASP.NET 中有一个内置的会员系统,并使用 web.config 中的配置文件处理会员数据。
我想添加一个事件日历,会员可以在其中添加注释到他想要的任何一天,但我不知道如何将日历控件与现有会员系统集成。
我无法查询数据库,因为我不手动处理会员登录凭据,登录控件为我执行此操作,因此我必须将日历与现有的 ASPNETDB.MDF 会员数据库连接,但我一无所知。
I have a built-in Membership system in ASP.NET and I handle member data with Profiles in web.config.
I would like to add an Event Calendar where a member could add notes to any day he wants but I don't know how to integrate the Calendar control with the existing Membership system.
I can't query a database because I don't handle member login credentials manually, Login control does that for me so I would have to connect the Calendar with the existing ASPNETDB.MDF Membership database but I'm clueless.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用内置的 sql 成员资格提供程序,那么会更容易。 您可以使用它来获取登录用户并访问数据库。
现在,您可以将日历数据存储在表中,并将用户与其日历及其 ID(GUID)链接起来。
编辑:- 这里有一些用于进一步探索会员资格的链接。
模式与实践小组论文
如何观看有关设置会员资格的视频
Scott Mitchell 在 4guysatrolla 发表的深入文章
If you are using built-in sql membership provider then it is easier. You can get Logged-in user and access database using that.
Now yo can store calendar data in table and link user with his calendar with his id (which is GUID).
EDIT:- Here are some links for exploring membership further.
Patterns and Practices group paper
How to video on setting up membership
In depth article at 4guysatrolla by Scott Mitchell