コード例 #1
0
        public void SetupDataGrid()
        {
            ModuleService.EarDevModuleService moduleService = new ModuleService.EarDevModuleService();
            moduleService.Timeout = 100000;
            modulesDataSet        = moduleService.GetModuleList();

            modulesDataSet.Tables["tblModule"].Columns.Add("fldList", typeof(string));
            this.modulesDataGrid.DataSource = modulesDataSet.Tables["tblModule"].DefaultView;
        }
コード例 #2
0
        private void SetupControl()
        {
            ModuleService.EarDevModuleService moduleService = new ModuleService.EarDevModuleService();
            this.versionsDataSet = moduleService.GetVersionList(this.moduleID);

            this.versionsDataSet.Tables["tblVersion"].Columns.Add("fldView", typeof(string));
            this.versionsDataGrid.DataSource = this.versionsDataSet.Tables["tblVersion"].DefaultView;

            this.versionsGroup.Text = "Versions in '" + this.versionsDataSet.Tables["tblModule"].Rows[0]["fldName"].ToString() + "' Module";
        }