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

            return(obj.getplansdrop());
        }
        public static void comm2(string type, int plan, int quant)
        {
            myDAL obj = new myDAL();

            obj.insertdetais(type, plan, quant);
        }
        public static void comm55(int plan)
        {
            myDAL obj = new myDAL();

            obj.deleteorder(plan);
        }
        private static DataSet getp(int id)
        {
            myDAL obj = new myDAL();

            return(obj.getplans(id));
        }
        public static void comm7()
        {
            myDAL obj = new myDAL();

            obj.dummyplan();
        }
        public static void comm10(int rid)
        {
            myDAL obj = new myDAL();

            obj.deletereview(rid);
        }
        public static void comm62(string email)
        {
            myDAL obj = new myDAL();

            obj.addemail(email);
        }
        public static int comm63()
        {
            myDAL obj = new myDAL();

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

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

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

            return(obj.insertcustomdetails(name, normalload, maxload));
        }
Beispiel #13
0
        private static DataSet getp2()
        {
            myDAL obj = new myDAL();

            return(obj.getcustomplanin());
        }
Beispiel #14
0
        private static DataSet getp1()
        {
            myDAL obj = new myDAL();

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

            obj.updateplans(name, plan, descrp, price);
        }
Beispiel #16
0
        public static int getstandhandle()
        {
            myDAL obj = new myDAL();

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

            obj.updateemail(email, eid);
        }
Beispiel #18
0
        public static int comm52(int plan)
        {
            myDAL obj = new myDAL();

            return(obj.chepi1(plan));
        }
Beispiel #19
0
        public static void comm8(int id)
        {
            myDAL obj = new myDAL();

            obj.deleteplan(id);
        }
Beispiel #20
0
        public static void deletec(string name)
        {
            myDAL obj = new myDAL();

            obj.deletecustomdetails(name);
        }
Beispiel #21
0
        private static DataSet getp11()
        {
            myDAL obj = new myDAL();

            return(obj.getorders());
        }
Beispiel #22
0
        public static void comm47(int cid)
        {
            myDAL obj = new myDAL();

            obj.deletecustom(cid);
        }
Beispiel #23
0
        private static DataSet getp60()
        {
            myDAL obj = new myDAL();

            return(obj.getemails());
        }
Beispiel #24
0
        public static void comm65(int eid)
        {
            myDAL obj = new myDAL();

            obj.deleteemail(eid);
        }
Beispiel #25
0
        private static DataSet getp1(int plan)
        {
            myDAL obj = new myDAL();

            return(obj.allplans(plan));
        }
Beispiel #26
0
        public static void comm53(int id)
        {
            myDAL obj = new myDAL();

            obj.deletedetailsal(id);
        }
Beispiel #27
0
        private static DataSet getp81(int orderid)
        {
            myDAL obj = new myDAL();

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

            obj.updatedetailsal(quant, id, type);
        }
Beispiel #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);
        }
        private static DataSet getp1(int pid)
        {
            myDAL obj = new myDAL();

            return(obj.populatetable(pid));
        }