2016. 5. 12. 17:31
[VB 2010]
http://www.csharpstudy.com/WinForms/WinForms-datagridview2.aspx
DataGridViewComboBoxColumn colType = new DataGridViewComboBoxColumn(); colType.HeaderText = "Type"; colType.DropDownWidth = 90; colType.Width = 90; colType.MaxDropDownItems = 5; this.dataGridView1.Columns.Insert(7, colType); colType.Items.AddRange("A", "N", "P", "S", "Z"); this.dataGridView1.Columns[7].DataPropertyName = "trans_type";
반응형
'VB 2010' 카테고리의 다른 글
How to: Position the Cursor at the Beginning or End of Text in a TextBox Control (0) | 2016.05.24 |
---|---|
How to set SelectedIndex in DataGridViewComboBoxColumn (0) | 2016.05.19 |
수당 정리 (0) | 2016.05.06 |
Visual Studio SP 다운경로 (0) | 2016.04.25 |
CheckBox in Header Cell of DataGridView Control (0) | 2016.04.24 |