如何在combobox的下拉单中获取datagridview中的行号 我在combobox的下拉单中显示datagridview中所有行的行号,用代码如何实现? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private void button6_Click(object sender, EventArgs e) { for (int i = 0; i < this.dataGridView1.Rows.Count; i++) this.comboBox1.Items.Add(i); } 不知道是不是你要的,this.comboBox1.Items.Add(i+1); windowsservice超时 我对VS开发环境有意见! vs.net 2003??? 请问混淆器是什么?哪位请推荐一个给我,谢谢. (100分求解) 怎样在窗体创建过程中关闭窗体 求《试卷管理系统》,万分感激 windows自定义控件运行时如何将string 嵌入自己的资源中 有关正则表达式 急!我读文件内容的时候,为什么汉字都成乱码了,怎么解决阿,英文正常! 讨论:是winform做起来简单还是webform做起来简单? 关于简单正则!80分诚心求教!! 求資料.
{
for (int i = 0; i < this.dataGridView1.Rows.Count; i++)
this.comboBox1.Items.Add(i);
}