帮助在VB中的代码隐藏文件 [英] Help with code-behind file in vb
本文介绍了帮助在VB中的代码隐藏文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谢谢
解决方案
通过移动所有
<%//这里的一些代码部分%>
到文件后面的代码中.您还应该在aspx pages页面指令中写入文件后面的代码名称是什么.
干杯!
-MRB PS :如果不了解您login.aspx的结构和内容,那么很难给出任何可靠的建议,不是吗? /blockquote>
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解决方案By moving all the
<% // 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?
这篇关于帮助在VB中的代码隐藏文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文