protected void BindBuildingList(long WarehouseID) { CustomProfile profile = CustomProfile.GetProfile(); iWarehouseClient Warehouseclient = new iWarehouseClient(); gvBuilding.DataSource = Warehouseclient.GetWarehouseBuilding(WarehouseID, profile.DBConnection._constr); gvBuilding.DataBind(); }