如果是模版列:LinkButton tmpBtn = (LinkButton)e.Item.Cells[?].FindControl("linkbutton1");
string aaaaaa= tmpBtn.Text;
如果是按钮列:LinkButton tmpBtn = (LinkButton)e.Item.Cells[?].Control[0];
string aaaaaa= tmpBtn.Text;---------------------------同理:Label tmpLb = (Label)DataList1.Items[?].FindCountrol("Label1");
tmpLb.Text = aaaaaa;
string aaaaaa= tmpBtn.Text;
如果是按钮列:LinkButton tmpBtn = (LinkButton)e.Item.Cells[?].Control[0];
string aaaaaa= tmpBtn.Text;---------------------------同理:Label tmpLb = (Label)DataList1.Items[?].FindCountrol("Label1");
tmpLb.Text = aaaaaa;
Items[?]中的?代表行号