The error message is quite clear.
That means the
StoredProcedure
"
DMLgrid_SP
" is expecting parameter
@id
, but you are not sending that from code.
So, do something like below to send the parameter.
com.Parameters.AddWithValue("@id", someID);
Also no need call
ToString()
here.
com.Parameters.AddWithValue("@Action", HiddenField1.Value)
.ToString();