private void LinkButton2_Click(object sender, System.EventArgs e)
{ foreach(ListItem item in this.ListBox1.Items)
{
this.ListBox2.Items.Add(item);
this.ListBox1.Items.Clear();
}
}调试出错
而且我的项目中莫名其妙的出现了什么反汇编的一项
不知道怎么删除它
怎么办?
{ foreach(ListItem item in this.ListBox1.Items)
{
this.ListBox2.Items.Add(item);
this.ListBox1.Items.Clear();
}
}调试出错
而且我的项目中莫名其妙的出现了什么反汇编的一项
不知道怎么删除它
怎么办?
解决方案 »
- 60分求关于DataGridView数据绑定问题。
- 关于怎样在FORM中取值
- .NET 高手进来帮帮忙(关于remoting)
- 如何合并dataGridView标题行 winForm
- 请教高手:Team Foundation server(tfs)获取代码,本地路径怎么没有代码啊?
- 来来来,初学者问个小问题,一个小时就结了
- c# 使用FileStream读取大于计算机内存文件的解决办法
- 有关addrange的问题,很奇怪
- 如何通过对象的属性名,创建对象的属性?
- :-( 在vc编写的动态链接库中有这样一个函数,请问如何导入C#中使用?(参数中有个回调函数)
- 急! 在先等.
- C#中关于DataReader菜鸟问题
{
this.ListBox2.Items.Add(item);
this.ListBox1.Items.Clear();
}改用for循环
{
this.ListBox2.Items.Add(item);
}
this.ListBox1.Items.Clear();