public void LoadData(string userId) { BAL_User getData = new BAL_User(); List <PackageDetails> packageDetails = getData.BALGetPackagesDetails(userId); gdvUserPackages.DataSource = getData.BALGetPackagesDetails(userId); gdvUserPackages.DataBind(); }
protected void tab_ServerClick(object sender, EventArgs e) { BAL_User loadPackage = new BAL_User(); loadPackage.BALGetPackagesDetails(Session["userId"].ToString()); LoadData(Session["userId"].ToString()); }
public void LoadData(string packageId) { BAL_User packageDetails = new BAL_User(); gdvStaffUser.DataSource = packageDetails.BALGetPackagesDetails(packageId); gdvStaffUser.DataBind(); }