It's not who you are underneath, it's what you do that defines you

设置DataGridView控件DataGridViewComboBoxColumn下拉框默认值

DataGridViewComboBoxColumn GenderColumn= new DataGridViewComboBoxColumn();

GenderColumn.Items.Add("男");

 

GenderColumn.Items.Add("女");

GenderColumn.Items.Add("未知");

 GenderColumn.DefaultCellStyle.NullValue = "男";

posted @ 2012-06-04 11:48  金铭杰  阅读(4146)  评论(0编辑  收藏  举报

Brick walls are there for a reason :they let us prove how badly we want things