各位朋友,我用DataTable在更新数据的时候,数据老是修改不了...帮我看看是怎么搞的..代码如下
<--得到Index
 int rowIndex =0;            
 int colindex = 3;
<--得到要更新的内容...
 int NewValue=Int32.Parse(((TextBox)this.GridView1.Rows[e.RowIndex].Cells[3].Controls[0]).Text);
<--经测试.此时NewValue已经取得了新的内容....<--更新数据
 dt.Rows[rowIndex].ItemArray.SetValue(NewValue,colindex);
 
<--打印结果,可还是老值...
 Response.Write(dt.Rows[rowIndex].ItemArray.GetValue(colindex).ToString ());
            各位朋友,我哪里有错的地方??????