Ejemplo n.º 1
0
        private void reloadCombo()
        {
            //Plate type
            Common.BLL.Logic.GasStation.Base__PlateType lPlateType = new Common.BLL.Logic.GasStation.Base__PlateType(Common.Enum.EDatabase.GasStation);
            DataTable resultPlateType = lPlateType.allData("", "", false).model as DataTable;

            plateTypeComboBox.fillByTable(resultPlateType, "id", "type");
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Reload data
        /// </summary>
        void reload()
        {
            Common.BLL.Logic.GasStation.Base__PlateType lPlateType = new Common.BLL.Logic.GasStation.Base__PlateType(Common.Enum.EDatabase.GasStation);

            CommandResult opResult = lPlateType.allData("", "", false);

            resultGrid.DataSource = opResult.model;
            resultGrid.loadHeader(this.GetType().Name);
        }