实现效果: 。 第一步:拖一个datagridview控件 第二步:点击小三角到编辑列里。 第三步: columntype选择。name为:sex。 编辑下拉控件的数据。 然后直接ctrl f5测试就ok了。