📅  最后修改于: 2022-03-11 14:49:22.079000             🧑  作者: Mango
Button btnSender = (Button)sender;
TextBox txt_TextBox = (TextBox)btnSender.Parent.FindControl("TextBox1");
string Text = txt_TextBox.Text;