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 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin SontakkePosted Aug 29, 2018, 7:14 AM
SWAMY YTPosted Aug 29, 2018, 7:36 AM