· If you're having conceptual difficulties with the @ Import and @ Assembly directives, you're not the only one. Read this article to find out about the use of .NET components in ASP.NET and forget you ever had doubts.What Has Changed Compared to ASP Classic?
If you've develope...
· <%@ Assembly Name="System.Net" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.IO" %>
<script language="VB" runat="server">
dim STRtemp as string
Sub Page_Load(Src As Object, E As E...
· Dynamic Image Generation with ASP.NETScott Guthrie
January 14, 2001Level: Beginner/IntermediateOne of the neat features that you can now leverage with .NET is the ability to easily generate dynamic images from code, which you can then either save to disk or directly stream ba...
· 在ASP.NET中操作文件的例子1、写文件
writefile.aspx<%@ Import Namespace="System.IO" %> '引入所需的NameSpace
<%
Response.write("Writing the content into Text File in ASP.NET <BR>")
Dim strwriterobj As StreamWriter '声明一个Stream...
· 'Uses the Timespan method to subtract a certain number of days
Function Date1()
Dim NewTime as DateTime
NewTime = DateTime.Now.Subtract( New TimeSpan(7, 0, 0, 0) )
NewTime = NewTime.Format("MM/dd/yyyy", DateTimeFormatInfo)
response.write(NewTime)...
· StockPicker.aspx:
<script language="VB" runat=server>
Sub ChartBtn_Click(Sender as Object, E as EventArgs)
chart.ImageUrl = "ImageGenerator_Vb.aspx?"
chart.Visible = true
For i=0 to Stocks.Items.Count-1
If (Stocks.Items...
· ASP.NET 入门的五个步骤
作者:Rob Howard
2000 年 11 月 12 日 将于 2000 年 12 月 28 日存档欢迎访问 Nothin' but ASP.NET 专栏,下面我将为大家深入介绍 ASP.NET 中某些重要的新特性,以及一些其他 .NET Framework 技术。在第一个专栏中,我们将讨论 ASP.NET 入门的五个步骤。以后的专栏我们...