C
Cirene
I have a stored procedure named insertcompany.
I keep getting the error:
Sys.webforms.pagerequestmanagerservererrorexception: Procedure or function
'InsertCompany' expects parameter '@ApptPhone1Required', which was not
supplied.
But, I DID supply it along with all others.... (here's a snippet)
MyCommand.Parameters.AddWithValue("@InstructionsOperator",
CType(multiPage.FindControl("txtInstructionsOperator"), TextBox).Text)
MyCommand.Parameters.AddWithValue("@InstructionsCustomer",
CType(multiPage.FindControl("txtInstructionsCustomer"), TextBox).Text)
MyCommand.Parameters.AddWithValue("@ApptPhone1Required",
CType(multiPage.FindControl("checkbox1"), CheckBox).Checked)
MyCommand.Parameters.AddWithValue("@ApptPhone1Show",
CType(multiPage.FindControl("checkbox2"), CheckBox).Checked)
Any ideas what is wrong with this? The other params seem to work fine.
Thanks
I keep getting the error:
Sys.webforms.pagerequestmanagerservererrorexception: Procedure or function
'InsertCompany' expects parameter '@ApptPhone1Required', which was not
supplied.
But, I DID supply it along with all others.... (here's a snippet)
MyCommand.Parameters.AddWithValue("@InstructionsOperator",
CType(multiPage.FindControl("txtInstructionsOperator"), TextBox).Text)
MyCommand.Parameters.AddWithValue("@InstructionsCustomer",
CType(multiPage.FindControl("txtInstructionsCustomer"), TextBox).Text)
MyCommand.Parameters.AddWithValue("@ApptPhone1Required",
CType(multiPage.FindControl("checkbox1"), CheckBox).Checked)
MyCommand.Parameters.AddWithValue("@ApptPhone1Show",
CType(multiPage.FindControl("checkbox2"), CheckBox).Checked)
Any ideas what is wrong with this? The other params seem to work fine.
Thanks