Dzung Dakao

Dzung Dakao

  • NA
  • 17
  • 3.1k

SqlDatasource control

Nov 12 2017 2:17 PM
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)