Hi to all. I'm new using the Login control. I'm trying to use this so it can connect to MYSQL Database with a Username and Password from that DB, but don't know how this works. Ive been looking on the web but but the info I found is not clear. I have a dll
that connects to the DB only need to change it to another password and username. How can I accomplish this????
Are you assigning your own EventHandler for the Authenticate event? If not, the default authentication mechanism is to use the inbuilt Membership Provider. If you haven't configured your web application to use MySQL as the provider, you will need to do
so. If you don't know how to do it, have a look at this tutorial on how to
create membership and role providers for MySQL.
torrea21
Member
9 Points
111 Posts
ASP.NET Login Control with C#
Aug 04, 2008 01:43 PM|LINK
Hi to all. I'm new using the Login control. I'm trying to use this so it can connect to MYSQL Database with a Username and Password from that DB, but don't know how this works. Ive been looking on the web but but the info I found is not clear. I have a dll that connects to the DB only need to change it to another password and username. How can I accomplish this????
Thanks!!!!!
HosamKamel
Star
9551 Points
1391 Posts
Re: ASP.NET Login Control with C#
Aug 04, 2008 01:54 PM|LINK
You can use the ASP.NET membership with MySql membership provider
Membership and Role providers for MySQL
Remember to click on Mark as answer on the post that helped you
stevenbey
All-Star
16438 Points
3369 Posts
Re: ASP.NET Login Control with C#
Aug 04, 2008 02:01 PM|LINK
Are you assigning your own EventHandler for the Authenticate event? If not, the default authentication mechanism is to use the inbuilt Membership Provider. If you haven't configured your web application to use MySQL as the provider, you will need to do so. If you don't know how to do it, have a look at this tutorial on how to create membership and role providers for MySQL.
http://stevenbey.com
Recursion: see Recursion
torrea21
Member
9 Points
111 Posts
Re: ASP.NET Login Control with C#
Aug 04, 2008 02:08 PM|LINK
Thanks!!!!!!!!!!