Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     myDAL obj = new myDAL();
     Repeater1.DataSource = obj.getplansdrop();
     Repeater1.DataBind();
 }
Пример #2
0
        private static DataSet getp9()
        {
            myDAL obj = new myDAL();

            return(obj.getplansdrop());
        }
Пример #3
0
        public static void comm2(string type, int plan, int quant)
        {
            myDAL obj = new myDAL();

            obj.insertdetais(type, plan, quant);
        }
Пример #4
0
        public static void comm55(int plan)
        {
            myDAL obj = new myDAL();

            obj.deleteorder(plan);
        }
Пример #5
0
        private static DataSet getp(int id)
        {
            myDAL obj = new myDAL();

            return(obj.getplans(id));
        }
Пример #6
0
        public static void comm7()
        {
            myDAL obj = new myDAL();

            obj.dummyplan();
        }
Пример #7
0
        public static void comm10(int rid)
        {
            myDAL obj = new myDAL();

            obj.deletereview(rid);
        }
Пример #8
0
        public static void comm62(string email)
        {
            myDAL obj = new myDAL();

            obj.addemail(email);
        }
Пример #9
0
        public static int comm63()
        {
            myDAL obj = new myDAL();

            return(obj.chepi2());
        }
Пример #10
0
        public static void comm70(string name, int normalload, int maxload, int cid)
        {
            myDAL obj = new myDAL();

            obj.editcustomdetails(name, normalload, maxload, cid);
        }
Пример #11
0
        public static void standhandle(int rate)
        {
            myDAL obj = new myDAL();

            obj.insertstand(rate);
        }
Пример #12
0
        public static int comm49(string name, int normalload, int maxload)
        {
            myDAL obj = new myDAL();

            return(obj.insertcustomdetails(name, normalload, maxload));
        }
Пример #13
0
        private static DataSet getp2()
        {
            myDAL obj = new myDAL();

            return(obj.getcustomplanin());
        }
Пример #14
0
        private static DataSet getp1()
        {
            myDAL obj = new myDAL();

            return(obj.customload());
        }
Пример #15
0
        public static void comm6(string name, int plan, string descrp, string price)
        {
            myDAL obj = new myDAL();

            obj.updateplans(name, plan, descrp, price);
        }
Пример #16
0
        public static int getstandhandle()
        {
            myDAL obj = new myDAL();

            return(obj.getstandhandle());
        }
Пример #17
0
        public static void com61(string email, int eid)
        {
            myDAL obj = new myDAL();

            obj.updateemail(email, eid);
        }
Пример #18
0
        public static int comm52(int plan)
        {
            myDAL obj = new myDAL();

            return(obj.chepi1(plan));
        }
Пример #19
0
        public static void comm8(int id)
        {
            myDAL obj = new myDAL();

            obj.deleteplan(id);
        }
Пример #20
0
        public static void deletec(string name)
        {
            myDAL obj = new myDAL();

            obj.deletecustomdetails(name);
        }
Пример #21
0
        private static DataSet getp11()
        {
            myDAL obj = new myDAL();

            return(obj.getorders());
        }
Пример #22
0
        public static void comm47(int cid)
        {
            myDAL obj = new myDAL();

            obj.deletecustom(cid);
        }
Пример #23
0
        private static DataSet getp60()
        {
            myDAL obj = new myDAL();

            return(obj.getemails());
        }
Пример #24
0
        public static void comm65(int eid)
        {
            myDAL obj = new myDAL();

            obj.deleteemail(eid);
        }
Пример #25
0
        private static DataSet getp1(int plan)
        {
            myDAL obj = new myDAL();

            return(obj.allplans(plan));
        }
Пример #26
0
        public static void comm53(int id)
        {
            myDAL obj = new myDAL();

            obj.deletedetailsal(id);
        }
Пример #27
0
        private static DataSet getp81(int orderid)
        {
            myDAL obj = new myDAL();

            return(obj.getcustomorderdetails(orderid));
        }
Пример #28
0
        public static void comm54(int quant, int id, string type)
        {
            myDAL obj = new myDAL();

            obj.updatedetailsal(quant, id, type);
        }
Пример #29
0
        public static void comm45(int watt, float hybrid, float batteryd, float batteryw, float wireh, float wiren, float stand, int othersh, int othersn, int solar, int nonhybrid, int batterycount, float solarrate, float inverter, float charger, float chargecontroller)
        {
            myDAL obj = new myDAL();

            obj.insertcustomin(watt, hybrid, batteryd, batteryw, wireh, wiren, stand, othersh, othersn, solar, nonhybrid, batterycount, solarrate, inverter, charger, chargecontroller);
        }
Пример #30
0
        private static DataSet getp1(int pid)
        {
            myDAL obj = new myDAL();

            return(obj.populatetable(pid));
        }