You should use the event "SelectedItemChanged",because the
event "Click" happens not when you select a item ,but when you
click on the controls itself.Use the "SelectedItemChanged" event
you can trigger your event handler once the item selected is
changed.
event "Click" happens not when you select a item ,but when you
click on the controls itself.Use the "SelectedItemChanged" event
you can trigger your event handler once the item selected is
changed.
解决方案 »
- 为什么datagridview绑定datareader显示的数据不完整?
- 为了找工作...用C#+.NET+SQL花了两个月。。自己做了一个blog,希望大家帮忙测试。。。
- 删除问题
- Session的生命周期,为什么关闭浏览器Session还在?
- ora-00001违反唯一约束条件 在线等!!
- 请教高手,这个难题怎么解决
- 如何在DataGrid中根据每格的数据显示不同的颜色
- WPF,BindsDirectlyToSource属性是是什么意思?
- 运行时更改排序字段??
- 急,如何让新弹出的IE窗口最小化按钮为灰
- 如何在C#,VC++,VB.net中嵌入SQL
- 请给一个.NET中用C#操作SQL SERVER数据库的例子,谢谢
{
textBox3.Text=comboBox1.SelectedItem.ToString();
}
{
textBox1.Text=comboBox1.Text;
}
{
textBox1.Text=comboBox1.SelectedItem.ToString();
}
{
textBox1.Text =comboBox1.Text ;
}
ok!没问题!
private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
{
textBox3.Text=comboBox1.SelectedItem.ToString();
}