public void FillLocationGrid(long WarehouseID) { CustomProfile profile = CustomProfile.GetProfile(); iWarehouseClient Warehouseclient = new iWarehouseClient(); DataSet ds = new DataSet(); ds = Warehouseclient.GetWarehouseLocationByID(WarehouseID, profile.DBConnection._constr); GVLocation.DataSource = ds; // GVLocation.DataSource = Warehouseclient.GetWarehouseLocation(WarehouseID, profile.DBConnection._constr); GVLocation.DataBind(); }