Okay, here is what I have:
But I get an error:
System.IndexOutOfRangeException: Invalid index 0 for this OleDbParameterCollection with Count=0.
I figure this is a simple Faux Pau on my part... coffee... not enough... need to get to blood stream!..
Code:
cmd.CommandText = "INSERT INTO someTable (OrderID, OrigOrder,CustID,ProgID,CustRef) values (?,?,?,?,?)"
Line 115: cmd.Parameters(0).Value = nowJob.Text
Line 116: cmd.Parameters(1).Value = oldJob.Text
Line 117: cmd.Parameters(2).Value = Request.Cookies("id").Value()
But I get an error:
System.IndexOutOfRangeException: Invalid index 0 for this OleDbParameterCollection with Count=0.
I figure this is a simple Faux Pau on my part... coffee... not enough... need to get to blood stream!..