格式不对
private void button4_Click(object sender, EventArgs e){
double value09;
for (int i = 0; i < 260; i++)
{
value09=Double.Parse (dataGridView3.Rows.Cells.Value.ToString());
MessageBox .Show(this.textBox1.Text);
if (value09 > Double.Parse (textBox1.Text.ToString ()))
{
dataGridView4.Rows.Cells.Value = dataGridView3.Rows.Cells.Value;
dataGridView4.Rows.Cells.Value = dataGridView2.Rows.Cells.Value;
}
}
}
file:///C:/Users/Administrator/AppData/Roaming/Tencent/Users/790426053/QQ/WinTemp/RichOle/@~@C121U)J_20%7D%60T%252RVJ56.jpg
在出错的前面 打个断点F5调试, 然后看下 value09和textBox1.Text的值分别的是多少 恩,现在搞定了,谢谢你
页:
[1]