public void loadSellers() { //this function will load the data into grid myDAL objDAL = new myDAL(); Sellers.DataSource = objDAL.GetSellersList_DAL(); Sellers.DataBind(); }
public void LoadSellers() { //this function will load the data into grid if (Session["user"] != null) { String curremail = Session["user"].ToString(); myDAL objDAL = new myDAL(); Sellers.DataSource = objDAL.SellerProfile_DAL(curremail); Sellers.DataBind(); } }