private void InitSpType() { using (SqlAccessor sqlAccessor = Accessor.AccessorFactory.GetSqlAccessor()) { DataTable dtt = sqlAccessor.GetCodeList(CodeType.ListType); this.cmbSPType.Items.Clear(); this.cmbSPType.DisplayMember = "DISPLAY_NAME"; this.cmbSPType.ValueMember = "SP_TYPE"; this.cmbSPType.DataSource = dtt; } }