Hello i a m gettng the error like
"cann't convert from myproject.sqlconnection to sql.Data.sqlclient.sqlconnection"
here is my code
protected void CalculationAddToDataBase()
{
sqlconnection conn = new sqlconnection(ConfigurationManager.ConnectionStrings["connectionstring"].ConnectionString);
conn.Open();
SqlCommand cmd = new SqlCommand("USP_PsychoetricCalculationTable",conn);
cmd.CommandType=CommandType.StoredProcedure;
}
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nitin SontakkeRank #264 · 9.6K reputationPosted Aug 29, 2018, 3:14 AM EDT
SWAMY YTRank #2,119 · 673 reputationPosted Aug 29, 2018, 3:36 AM EDT