Originally Posted by msomar
When the code is not separated to index.aspx and index.aspx.vb
but all the code aspx and vb
in the same page index.aspx
where I can but the code such as :
I would suggest to seperate your code.. as i PHP programmer.. this was a problem cause in PHP you doesnt have the chance to seperate the code from the logic easily. But when i jumped in ASP.NET this was another story.
However, if you really want to keep the vb
code in ASP.NET i am not sure but i guess you can insert <% Imports IO %> in the first line of your page.