Click here to Skip to main content
16,020,459 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
i received an e-mail attachment from a friend containing a web project written in VB.NET and ASP.NET. The Login.aspx file does not have a code-behind file, the logic implementation is embbeded inside the ASP.NET code. How can i create a separate code-behind file for it.

Thanks
Posted

1 solution

By moving all the
ASP
<% // some code parts here %>


into your code behind file. You should also write into the aspx pages page directive what the name of your code behind file is.

Cheers!

—MRB
P.S: Without knowing anything of the structure and content of your login.aspx it would be kind of hard to give any solid advice, wouldn't it?
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 3-Oct-11 19:15pm    
Leave this hard part to OP who should know more about it than we do. My 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900