PoppapumpJ
Programmer
I have a .aspx page with a codeBehind .VB file.
Everything is running fine now, However I need to add a new form to the ASPX that directs it's data to another server. I've not found a good way to add a new form so I thought I would just write it in the html. However, I'm having trouble getting the data from the .vb file to the .aspx.
This is what the .aspx code looks like
<form method="post" action="AnotherServer.com/getData.asp">
<input type="hidden" name="itemname" value=<%=strItemName%>>
</form>
strItemName is a variable in the .vb that I would like to populate into the .aspx. Any ideas on how to do this.
thanks
Everything is running fine now, However I need to add a new form to the ASPX that directs it's data to another server. I've not found a good way to add a new form so I thought I would just write it in the html. However, I'm having trouble getting the data from the .vb file to the .aspx.
This is what the .aspx code looks like
<form method="post" action="AnotherServer.com/getData.asp">
<input type="hidden" name="itemname" value=<%=strItemName%>>
</form>
strItemName is a variable in the .vb that I would like to populate into the .aspx. Any ideas on how to do this.
thanks