In the SQLDataSource, make sure the OldValuesParameterFormatString="original_{0}"
This will allow you to use the @original_<fieldname> syntax.
This behavior was by default in beta1 of .NET 2.0, I believe, but you have to explicity set the oldvalues format now.
Alternatively, if you changed the name of your variables to @original_OrderID and @original_ProductID to @OrderID and @ProductID, you'd probably also get it to work.
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.