日期:2014-05-18 浏览次数:20466 次
protected void Copy_Click(object sender, EventArgs e) { int index=((GridViewRow)(((Button)sender).Parent.Parent)).RowIndex; String value= GridView1.DataKeys[index][0].Value.ToString(); ... }