button commandfield commandargument pass textbox code example
Example: button commandfield commandargument pass textbox
Button btnSender = (Button)sender;
TextBox txt_TextBox = (TextBox)btnSender.Parent.FindControl("TextBox1");
string Text = txt_TextBox.Text;