hello!
i ask this question for a long time,and no one help me ,
this is question i solved as:foreach(DataRow dr in dt.Rows)
combo1.Items.Insert(dr[colname]); //or use Add
good luck!
i ask this question for a long time,and no one help me ,
this is question i solved as:foreach(DataRow dr in dt.Rows)
combo1.Items.Insert(dr[colname]); //or use Add
good luck!
use this way,your can insert(dr[...]),or
combo1.Items.Insert("M");to your comboBox
同时设置item