Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

button commandfield commandargument pass textbox

Button btnSender = (Button)sender;
TextBox txt_TextBox = (TextBox)btnSender.Parent.FindControl("TextBox1");
string Text = txt_TextBox.Text;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #button #commandfield #commandargument #pass #textbox
ADD COMMENT
Topic
Name
1+4 =