private void DataGrid1_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
TableRow tr=e.Item;//选择的行
TextBox1.Text=tr.Cells[1].Text;
}
//我触发这个事件却得不到值,但如果绑定到BoundColumn上,就可以得到值
{
TableRow tr=e.Item;//选择的行
TextBox1.Text=tr.Cells[1].Text;
}
//我触发这个事件却得不到值,但如果绑定到BoundColumn上,就可以得到值
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货