public static States GetStatesByStateID(int StateID) { States states = new States(); SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); states = sqlStatesProvider.GetStatesByStateID(StateID); return states; }
public static DataSet GetDropDownListAllStates() { DataSet statess = new DataSet(); SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); statess = sqlStatesProvider.GetDropDownLisAllStates(); return statess; }
public static States GetStatesByStateID(int StateID) { States states = new States(); SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); states = sqlStatesProvider.GetStatesByStateID(StateID); return(states); }
public static DataSet GetDropDownListAllStates() { DataSet statess = new DataSet(); SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); statess = sqlStatesProvider.GetDropDownLisAllStates(); return(statess); }
public static void LoadStatesPage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize) { int recordCount=0; int PageSize = int.Parse(ddlPageSize.SelectedValue); SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); DataSet ds = sqlStatesProvider.GetStatesPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); statessPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static void LoadStatesPage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize) { int recordCount = 0; int PageSize = int.Parse(ddlPageSize.SelectedValue); SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); DataSet ds = sqlStatesProvider.GetStatesPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); statessPaggination(rptPager, recordCount, pageIndex, PageSize); }
public static bool DeleteStates(int statesID) { SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); return(sqlStatesProvider.DeleteStates(statesID)); }
public static bool UpdateStates(States states) { SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); return(sqlStatesProvider.UpdateStates(states)); }
public static int InsertStates(States states) { SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); return(sqlStatesProvider.InsertStates(states)); }
public static bool UpdateStates(States states) { SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); return sqlStatesProvider.UpdateStates(states); }
public static int InsertStates(States states) { SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); return sqlStatesProvider.InsertStates(states); }
public static bool DeleteStates(int statesID) { SqlStatesProvider sqlStatesProvider = new SqlStatesProvider(); return sqlStatesProvider.DeleteStates(statesID); }