相关文章
推荐文章
热门文章
在ASP+ 中我们如何使用 Class 而不是组件
|
/* 豆腐制作 都是精品 http://www.asp888.net 豆腐技术站 如果您转贴 本文 请 保留版权信息 */ asp+ 中我们有办法使用 预编译(pre-release)的代码 而不是 已经编译好的 二进制代码(build-in) 的组件 下面我们来看看一个例子 你可能会用到类似下面的代码: test.cs: public class MyClass { public string SaySomething() { test.aspx: <%@ Assembly Src="test.vb" %> <html> Sub Page_Load(Sender as Object, E as EventArgs) Dim Temp as New test End Sub </script> <body>
|
↑返回顶部
打印本页
关闭窗口↓
| 收藏本文到:天极网摘 新浪VIVI 和讯网摘 博彩中心 365Key网摘 poco网摘 狐摘 亿友响享Yeeyoo igooi-it网摘 5seek网摘 I2Key 我摘网摘 天下图摘 YouNote 百特门 |
