Example #1
0
        public object GetTransactionDetails()
        {
            DataTable dt = new DataTable();

            DAL.Class1 obj = new DAL.Class1();
            dt = obj.GetTransactionDetails(flag);
            return(dt);
        }
Example #2
0
        public DataTable GetSetOrderStatus()
        {
            DataTable dt = new DataTable();

            DAL.Class1 obj = new DAL.Class1();
            dt = obj.GetSetOrderStatus(OrderNo, OrderStatus, flag);
            return(dt);
        }
Example #3
0
        public DataTable GetIncomeReport()
        {
            DataTable dt = new DataTable();

            DAL.Class1 obj = new DAL.Class1();
            dt = obj.GetIncomeReport(flag);
            return(dt);
        }
Example #4
0
        public DataTable GetOrdersList()
        {
            DataTable dt = new DataTable();

            DAL.Class1 obj = new DAL.Class1();
            dt = obj.GetOrdersList(flag);
            return(dt);
        }
Example #5
0
        public DataTable GetAvailableStock()
        {
            DataTable dt = new DataTable();

            DAL.Class1 obj = new DAL.Class1();
            dt = obj.GetAvailAbleStock(StockType, CatagoryID);
            return(dt);
        }
Example #6
0
        public DataTable loginUser(String username, String password)
        {
            DataSet ds = new DataSet();

            DAL.Class1 obj = new DAL.Class1();
            ds = obj.loginUser(username, password);
            if (ds.Tables.Count == 0)
            {
                return(null);
            }
            else
            {
                return(ds.Tables[0]);
            }
        }
Example #7
0
        public void GetProducts(int CatagoryID = 0)
        {
            DAL.Class1 k = new DAL.Class1();



            dlProducts.DataSource = null;
            if (CatagoryID == 0)
            {
                DataTable dt = new DataTable();
                dt = k.GetAllProducts();
                dlProducts.DataSource = dt;
            }

            dlProducts.DataBind();
        }
Example #8
0
 public void addproduct(string b_color, int b_price, string b_img)
 {
     DAL.Class1 obj = new DAL.Class1();
     obj.addproduct(b_color, b_price, b_img);
 }
Example #9
0
 public void saveCustomerOrder()
 {
     DAL.Class1 obj = new DAL.Class1();
     obj.saveCustomerOrder(CustomerID, ProductID, totalProducts);
 }
Example #10
0
 public DataTable SaveOrder(string Name, string phone, string email, string address, string total_dress, string total_price)
 {
     DAL.Class1 obj = new DAL.Class1();
     return(obj.SaveOrder(Name, phone, email, address, total_dress, total_price));
 }
Example #11
0
 public int InsertData(string p)
 {
     DAL.Class1 obj = new DAL.Class1();
     return(obj.InsertData(p));
 }
Example #12
0
 public int InsertData(string txtCatagoryName, string description, string imgUrl, string price, string catagory, int qty)
 {
     DAL.Class1 obj = new DAL.Class1();
     return(obj.InsertData(txtCatagoryName, description, imgUrl, price, catagory, qty));
 }