pag.bantay lng sa akong exception diha.. use valid exception. also AppSettings["ConnectString"] refers to your web.config file. like sa akong app mao ni.. dapat sakto imu configuration... okay, see my code sa web.config
Code:
<appSettings>
<add key="ConnectString" value="server=server;uid=username;pwd=password;database=databasename;charset=;"/>
</appSettings>
lastly, you need to have DLL sa mysql dapat located ni cya sa Bin folder, like in my case --> MySql.Data.dll build: 1.0.7.30072
hope this will help you..
Best,
TheGame