Execute a SqlCommand (that returns a 1x1 resultset) against the specified SqlTransaction using the provided parameters.
an object containing the value in the 1x1 resultset generated by the command
e.g.: int orderCount = (int)ExecuteScalar(trans, CommandType.StoredProcedure, "GetOrderCount", new SqlParameter("@prodid", 24));
SqlHelper Class | Mediachase.FileUploader Namespace | SqlHelper.ExecuteScalar Overload List