public static int GetRequiredIntParameter(string parameterName) { int?value = WebFormsHelper.GetIntParameter(parameterName); if (!value.HasValue) { throw new Exception(string.Format("Missing {0} Parameter", parameterName)); } return(value.Value); }
public int GetIntParmeter(string parameterName, int defaultValue) { return(WebFormsHelper.GetIntParameter(parameterName, defaultValue)); }
protected int GetIntViewState(string fieldName, int defaultValue) { return(WebFormsHelper.GetIntParameter(this.ViewState, fieldName, defaultValue)); }
public int?GetIntParameter(string parameterName) { return(WebFormsHelper.GetIntParameter(parameterName)); }