sasey
|
Posted: 06/21/2004, 4:04 AM |
|
how can i send the value in a textBox as a querysting using C#.
|
|
|
Stan
|
Posted: 06/21/2004, 4:58 AM |
|
Sasey
Could you explain what you want to do more detailed? Which type of form your are use, and which operation should perform this action (e.g. append textbox value to redirect string during update operation of a Record form)
Thanks
Stan
|
|
|
sasey
|
Posted: 06/21/2004, 8:42 AM |
|
i am using a link label and i use the href property to indicate the page it's refering to and i use ... button to determine the parameters i want to send to the other page and i want to send the value in this box but i can't do it i don't know what options to choose.and thank you in advance
|
|
|
sasey
|
Posted: 06/21/2004, 8:45 AM |
|
i am using a link label and i use the href property to indicate the page it's refering to and i use ... button to determine the parameters i want to send to the other page and i want to send the value in this box but i can't do it i don't know what options to choose.and thank you in advance
|
|
|
Stan
|
Posted: 06/22/2004, 1:12 AM |
|
Sasey
You can use Page Before Show event with the following code for add parameter to the link
If NewRecord1Link1.Href.EndsWith("?") Then
NewRecord1Link1.Href += "MyParam=" + NewRecord1TextBox1.Text
Else
NewRecord1Link1.Href += "&MyParam=" + NewRecord1TextBox1.Text
End If
Stan
|
|
|
sasey
|
Posted: 06/22/2004, 8:16 AM |
|
thank you very much it worked correctly
|
|
|