假设有一个ComboBox类型的对象cmb 能正确添加列表项的代码是:
已帮助 人
假设有一个ComboBox类型的对象cmb,能正确添加列表项的代码是:
A.string[] f = { "红楼梦", "三国演义", "水浒传", "西游记" }; foreach (string s in f) cmb.Items.Add(s);
B.string[] f = { "红楼梦", "三国演义", "水浒传", "西游记" }; foreach (string s in f) cmb.SelectedNode.Nodes.Add(s);
C.string[] f = { "红楼梦", "三国演义", "水浒传", "西游记" }; foreach (string s in f) cmb.Nodes.Add(s);
D.string[] f = { "红楼梦", "三国演义", "水浒传", "西游记" }; foreach (string s in f) cmb.Items.Add(s.Text);

回答
共1条回复-
C
