2
Answers

SqlDatasource control

Dzung Dakao

Dzung Dakao

6y
242
1
Hi,
 
Visual Studio 2015. MySql.
 
I am using a SqlDataSource control in a Default.aspx form. Trying to connect to MySql database. When I go through the wizard, everything works fine. All the tables were showing in the dropdown. But, when I tried to run the "test query", it generates the following error message.
 
 "Could Not Create Connection. Object reference not set to an instance of an object".
 
Did I miss anthing? Any idea?
 
Thank you in advance.... 
 
 

Answers (2)