Author: littlened | Posted on: 8/2/2008 10:08:26 AM | Views : 247

I've created a class to pull data from an SQL database.

SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["LocalSqlServer"].ConnectionString);
SqlDataAdapter sqlAdapter = new SqlDataAdapter(statement, conn);
DataSet sqlDataSet = new DataSet();
sqlAdapter.Fill(sqlDataSet);
return sqlDataSet;

however when I run it, the connectionString brings up an error, I'm assuming this is ...

Go to the complete details ...