标签:obj nbsp new idv info 显示 div orm form
实现效果:

知识运用:
DataGridViewComboBoxColumn类 //通过该类可以创建下拉列表样式的列
实现代码:
private void Form1_Load(object sender, EventArgs e)
{
DataGridViewComboBoxColumn dgvc = new DataGridViewComboBoxColumn();
dgvc.Items.Add("苹果");
dgvc.Items.Add("香蕉");
dgvc.Items.Add("葡萄");
dgvc.Items.Add("蜜桃");
dataGridView1.Columns.Add(dgvc);
}
标签:obj nbsp new idv info 显示 div orm form
原文地址:https://www.cnblogs.com/feiyucha/p/10205520.html