I'm translating pages from old asp to asp.net and I don't want to do this any other way so I really just want to know if this can be done.
In asp, I'd assign a variable on one page
Expand|Select|Wrap|Line Numbers
- <% myVar = "something" %>
Expand|Select|Wrap|Line Numbers
- <!--#include file="Test2.aspx"-->
Expand|Select|Wrap|Line Numbers
- <% myVar = "something else" %>
All I really want to know is if there is some way to replicate the behavior above in asp.net?