2
Reply

SqlDatasource control

Dzung Dakao

Dzung Dakao

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

Upload Source Code:  Select only zip and rar file.

Answers (2)