Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Variables from Code Behind page

Status
Not open for further replies.

SpprtMechanic

Technical User
Oct 4, 2001
1
US
After hours of searching, I have come to asking this question.

In Classic ASP you could do the following without a problem.

<% strTest = &quot;Hello World&quot; %>
....
<%= strTest %>

I am looking to do the same thing from a Code Behind page in ASP .Net. I know you can do the same thing with the script block in the beginning of the ASPX page, however in this project I need it to come from a code behind (aspx.vb) page.

Any one have any ideas or examples on how to make this work?
 
what are you going to use the variable for once you get it back to the clientside?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top