public object GetTransactionDetails() { DataTable dt = new DataTable(); DAL.Class1 obj = new DAL.Class1(); dt = obj.GetTransactionDetails(flag); return(dt); }
public DataTable GetSetOrderStatus() { DataTable dt = new DataTable(); DAL.Class1 obj = new DAL.Class1(); dt = obj.GetSetOrderStatus(OrderNo, OrderStatus, flag); return(dt); }
public DataTable GetIncomeReport() { DataTable dt = new DataTable(); DAL.Class1 obj = new DAL.Class1(); dt = obj.GetIncomeReport(flag); return(dt); }
public DataTable GetOrdersList() { DataTable dt = new DataTable(); DAL.Class1 obj = new DAL.Class1(); dt = obj.GetOrdersList(flag); return(dt); }
public DataTable GetAvailableStock() { DataTable dt = new DataTable(); DAL.Class1 obj = new DAL.Class1(); dt = obj.GetAvailAbleStock(StockType, CatagoryID); return(dt); }
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]); } }
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(); }
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); }
public void saveCustomerOrder() { DAL.Class1 obj = new DAL.Class1(); obj.saveCustomerOrder(CustomerID, ProductID, totalProducts); }
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)); }
public int InsertData(string p) { DAL.Class1 obj = new DAL.Class1(); return(obj.InsertData(p)); }
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)); }