what's use of original_{0}" in update command in grid view

shyam_oec's Avatar, Join Date: Nov 2007
In grid view while giving update command what is the use of OldValuesParameterFormatString="original_{0}".Thou gh it is clear that this gives a format for some value but what is the significance of _{0} in "original_{0}" .It is giving error when i write _{1} instead of _{0} in "original_{0}".
so,why it is happening so?
urstop's Avatar, Join Date: Oct 2007
The {0} gets replaced with the parameter/field name at run time. So its always {0}. So if you have a parameter named customerID, it becomes original_customerID and will hold the old value.