无法将方法组“ToString”转换为非委托类型“string”。 5
{TextBox3.Text=0.ToString();for(inti=1;i<=GridView1.Rows.Count;i++){intq=(Convert.ToI...
{
TextBox3.Text = 0.ToString();
for (int i = 1; i <= GridView1.Rows.Count; i++)
{
int q = (Convert.ToInt32(GridView1.Rows[i].Cells[1].Text)) * (Convert.ToInt32(GridView1.Rows[i].Cells[2].Text));
string data = q.ToString();
TextBox3.Text = TextBox3.Text + data;
}
}
哪里错呀,老是说格式错误? 展开
TextBox3.Text = 0.ToString();
for (int i = 1; i <= GridView1.Rows.Count; i++)
{
int q = (Convert.ToInt32(GridView1.Rows[i].Cells[1].Text)) * (Convert.ToInt32(GridView1.Rows[i].Cells[2].Text));
string data = q.ToString();
TextBox3.Text = TextBox3.Text + data;
}
}
哪里错呀,老是说格式错误? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询