62,243
社区成员




string str=((TextBox)this.GridViewEmail.Rows[e.RowIndex].FindControl("txtemail")).Text;
这样就得到了!!!!this.Label1.Text = ((TextBox)this.GridViewEmail.Rows[e.RowIndex].FindControl("txtemail")).Text;
this.Label1.Text = ((TextBox)this.GridViewEmail.Rows[e.RowIndex].FindControl("txtemail")).Text;
string str = "";
foreach (GridViewRow row in this.GridViewEmail.Rows)
{
str += ((TextBox)row.FindControl("txtemail")).Text + ",";
}
this.Label1.Text = str;