Add a DbProviderFactory without an App.Config

The following will probably cause sunspots and overthrow western civilization. It may even cause a debate about Duct Tape Programming (make it stop!), but it works (for now) try { var dataSet = ConfigurationManager.GetSection(“system.data”) as System.Data.DataSet; dataSet.Tables[0].Rows.Add(“SQLite Data Provider” , “.Net Framework Data Provider for SQLite” , “System.Data.SQLite” , “System.Data.SQLite.SQLiteFactory, System.Data.SQLite”); } catch (System.Data.ConstraintException) { … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)