Double yw1 = Convert.ToDouble((TextBox)(GridView1.Rows[e.RowIndex].Cells[2].Controls[0]));
怎么把yw1转成字符串赋值给yw并呈现在GridView1.Rows[e.RowIndex].Cells[2].Controls[0])里
读者朋友:
您好,ywl用ToString()转换一下就变成字符串了!