Reputation: 7226
The MySQL database is located on my local computer and I can't figure out how to connect to it. I dropped an SQLDataSource object onto my page and I'm trying to create a new connection but can't figure out how to do it. Help please!
I've already downloaded the connectors for .NET but have no idea what to do with them =S
Thank you!
Upvotes: 2
Views: 533
Reputation: 86
This question has been answered before: ASP .NET - Configure SQLDataSource to use MySQL .NET Connector
Don't forget to add
using MySql.Data.MySqlClient
to your class.
Upvotes: 2