模板列 只能 用FindControl 找到里面的控件 然后取控件的数据TextBox tb = (TextBox)DataGrid1.Item(X).FindControl("TextBox1");string aa = tb.Text ;