示例#1
0
 public static DataSet GetDropDownListAllTreatmentService()
 {
     DataSet treatmentServices = new DataSet();
     SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();
     treatmentServices = sqlTreatmentServiceProvider.GetDropDownLisAllTreatmentService();
     return treatmentServices;
 }
示例#2
0
 public static TreatmentService GetTreatmentServiceByTreatmentServiceID(int TreatmentServiceID)
 {
     TreatmentService treatmentService = new TreatmentService();
     SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();
     treatmentService = sqlTreatmentServiceProvider.GetTreatmentServiceByTreatmentServiceID(TreatmentServiceID);
     return treatmentService;
 }
示例#3
0
    public static TreatmentService GetTreatmentServiceByTreatmentServiceID(int TreatmentServiceID)
    {
        TreatmentService            treatmentService            = new TreatmentService();
        SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();

        treatmentService = sqlTreatmentServiceProvider.GetTreatmentServiceByTreatmentServiceID(TreatmentServiceID);
        return(treatmentService);
    }
示例#4
0
    public static DataSet  GetDropDownListAllTreatmentService()
    {
        DataSet treatmentServices = new DataSet();
        SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();

        treatmentServices = sqlTreatmentServiceProvider.GetDropDownLisAllTreatmentService();
        return(treatmentServices);
    }
示例#5
0
 public static void LoadTreatmentServicePage(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);
     SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();
     DataSet ds =  sqlTreatmentServiceProvider.GetTreatmentServicePageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      treatmentServicesPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
示例#6
0
    public static void LoadTreatmentServicePage(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);
        SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();
        DataSet ds = sqlTreatmentServiceProvider.GetTreatmentServicePageWise(pageIndex, PageSize, out recordCount);

        gv.DataSource = ds;
        gv.DataBind();
        treatmentServicesPaggination(rptPager, recordCount, pageIndex, PageSize);
    }
示例#7
0
 public static bool UpdateTreatmentService(TreatmentService treatmentService)
 {
     SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();
     return sqlTreatmentServiceProvider.UpdateTreatmentService(treatmentService);
 }
示例#8
0
 public static int InsertTreatmentService(TreatmentService treatmentService)
 {
     SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();
     return sqlTreatmentServiceProvider.InsertTreatmentService(treatmentService);
 }
示例#9
0
 public static bool DeleteTreatmentService(int treatmentServiceID)
 {
     SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();
     return sqlTreatmentServiceProvider.DeleteTreatmentService(treatmentServiceID);
 }
示例#10
0
    public static bool DeleteTreatmentService(int treatmentServiceID)
    {
        SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();

        return(sqlTreatmentServiceProvider.DeleteTreatmentService(treatmentServiceID));
    }
示例#11
0
    public static bool UpdateTreatmentService(TreatmentService treatmentService)
    {
        SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();

        return(sqlTreatmentServiceProvider.UpdateTreatmentService(treatmentService));
    }
示例#12
0
    public static int InsertTreatmentService(TreatmentService treatmentService)
    {
        SqlTreatmentServiceProvider sqlTreatmentServiceProvider = new SqlTreatmentServiceProvider();

        return(sqlTreatmentServiceProvider.InsertTreatmentService(treatmentService));
    }