membership
hi all
i have 2 questions
the first one how can i link between the membership database and my own database on SQL SERVER for example when the user reg. to my site i want to add the user name to my db and membership how can i do that?
the second question it is on C# i added an notify icon and i set the property and i put in the form load event notifyicon1.show() but nothing happend when i run the form i hope to help me on that.
Amit ChoudharyPosted Feb 11, 2011, 12:39 AM
1. As kareem told you can create Membership tables in your existing database in sqlserver.
use aspnet_regsql.exe and go step by step select an existing database and you tables will get created.
2. If you want to use the Membership usernames to be used in your StudentInfo table then you can either create and trigger on membership table or you can send the entry on the time of user is registering himself. There must be an event e.g, UserCreated of Membership class.
Hope it helps you.
Please mark "Do you like this post" if it helps you.
Thanks..
AhmadPosted Jul 12, 2008, 8:23 AM
kareem elhossenyPosted Jul 12, 2008, 8:11 AM
esle ie u want to work with login controle and interact with aspdb u cave to add provider in your web.config as this example of code
configure this code for your criteria and but them in the
if it not clear i advice u to see this link
http://aspnet.4guysfromrolla.com/articles/120705-1.aspx
AhmadPosted Jul 12, 2008, 5:39 AM
kareem elhossenyPosted Jul 12, 2008, 3:49 AM
i think u want to add the aspdb to your db
if that right u can make the follwing
go to this pathC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe
and go step by step with the wizerd
happy coding
AhmadPosted Jul 11, 2008, 5:35 AM