T
test
why does this code cause the "Parameter count does not match Parameter Value
count" error.???
Dim arGetaffManageparms() As System.Data.SqlClient.SqlParameter = New
System.Data.SqlClient.SqlParameter(3) {}
arGetaffManageparms(0) = New
System.Data.SqlClient.SqlParameter("@IDaff2Manage",
System.Data.SqlDbType.Int)
arGetaffManageparms(0).Value = CInt(Request.QueryString("ID2Manage"))
arGetaffManageparms(1) = New
System.Data.SqlClient.SqlParameter("@affItemID", System.Data.SqlDbType.Int)
arGetaffManageparms(1).Direction = System.Data.ParameterDirection.Output
arGetaffManageparms(2) = New
System.Data.SqlClient.SqlParameter("@affItemName",
System.Data.SqlDbType.VarChar, 35)
arGetaffManageparms(2).Direction = System.Data.ParameterDirection.Output
Dim getAffInfoStuff As System.Data.SqlClient.SqlDataReader =
ijsdac.SqlDataJunction.ExecuteReader(ConfigurationSettings.AppSettings(gen3.
Global.CfgKeyConnString), "getAffManage", arGetaffManageparms)
count" error.???
Dim arGetaffManageparms() As System.Data.SqlClient.SqlParameter = New
System.Data.SqlClient.SqlParameter(3) {}
arGetaffManageparms(0) = New
System.Data.SqlClient.SqlParameter("@IDaff2Manage",
System.Data.SqlDbType.Int)
arGetaffManageparms(0).Value = CInt(Request.QueryString("ID2Manage"))
arGetaffManageparms(1) = New
System.Data.SqlClient.SqlParameter("@affItemID", System.Data.SqlDbType.Int)
arGetaffManageparms(1).Direction = System.Data.ParameterDirection.Output
arGetaffManageparms(2) = New
System.Data.SqlClient.SqlParameter("@affItemName",
System.Data.SqlDbType.VarChar, 35)
arGetaffManageparms(2).Direction = System.Data.ParameterDirection.Output
Dim getAffInfoStuff As System.Data.SqlClient.SqlDataReader =
ijsdac.SqlDataJunction.ExecuteReader(ConfigurationSettings.AppSettings(gen3.
Global.CfgKeyConnString), "getAffManage", arGetaffManageparms)