I've been coding for years but I'm relatively new to ASP/C#. This is my code; the exception occurs on the ExecuteScalar() command.
protected void ect_txt_TextChanged(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection(connect_str); // connect_str good as it works...
I have two tables; Parameters and Concessions. The parameters table has a foreign key field to concessions that is populated only if a concession exists. If a concession is put in place, a duplicate record in Parameters is created with the duplicate having a foreign key entry to concessions...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.