Hi,
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.
-
If you are using built-in sql membership provider then it is easier. You can get Logged-in user and access database using that.
object id= Membership.GetUser(Page.User.Identity.Name).ProviderUserKey;
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.
0 comments:
Post a Comment