Author: mrorange2007 | Posted on: 8/30/2008 9:19:11 AM | Views : 380

I am trying to read a single value  from the database into a string using the executenonquery() Method and an stored proc but get the error conversion failed when converting the varchar value to data type int

any ideas ?
below is the code
protected void Button2_Click(object sender, EventArgs e)
{
string CStr = ConfigurationManager.ConnectionStrings["app"].ConnectionString.ToString();
SqlCon ...

Go to the complete details ...