asp.net 简明安装手册
ASP.Net又叫ASP+
1、系统要求
=====================
· CPU: Intel Pentium II-class 300 MHz (Intel Pentium III-class 600 MHz recommended)
· RAM: 96 MB (128 MB recommended)
· Available hard disk space (for install): 250 MB
· Available hard disk space (post install): 155 MB
· Video: 800x600, 256 colors
· CD-ROM: required
· Operating System: Microsoft Windows 2000 and Microsoft Internet Explorer 5.5
· Other Software: MDAC 2.6 Beta 2
2、软件下载
=====================
·MDAC 2.7 (5.03 MB)
http://www.microsoft.com/data/download_270RTM.htm
访问网址超出本站范围,不能确定是否安全
继续访问 取消访问http://www.microsoft.com/data/download_270RTM.htm
·Full SDK Download (131 MB)
http://download.microsoft.com/download/.netframesdk/SDK/1.0/W98NT42KMeXP/EN-US/setup.exe
访问网址超出本站范围,不能确定是否安全
继续访问 取消访问http://download.microsoft.com/download/.netframesdk/SDK/1.0/W98NT42KMeXP/EN-US/setup.exe
3、安装过程
首选安装MDAC,再安装SDK,SDK的安装时间比较长要耐心等待。
4、试 运 行
安装完成后,试着运行一个简单的ASP.Net编写的小程序,以便确定安装是否成功。
在你的IIS虚拟目录内,新建一个扩展名为.aspx的文件,内容如下:
<%@ Page Trace="True" %>
<html>
<head>
<title>使用跟踪</title>
</head>
<s cript language="c#" runat="server">
void Page_Load(Object Sender, EventArgs E) {
Trace.Write("跟踪", "在页面载入时");
}
void SubmitBtn_Click(Object Sender, EventArgs E) {
Trace.Write("按钮", "按钮按下");
Trace.Write("账号", "账号是:" + Name.Text);
Trace.Write("密码", "密码是:" + Password.Text);
YouEntered.Text = "你好!" + Name.Text + "。您的密码是 " + Password.Text;
}
</s cript>
<form runat="server">
<table border="0">
<tr>
<td>账号</td>
<td><asp:TextBox id="Name" runat="server" /></td>
</tr>
<tr>
<td>密码</td>
<td><asp:TextBox id="Pas
相关文档:
using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;//Cryptography密码术
namespace DAL
{
public class Enc ......
using System;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
namespace class_new
{
/// <summary>
/// DataClass 的摘要说明。
/// </summary>
public class DataClass
{
private string strConnection="";
&n ......
ASP.NET 4包括了一系列新的运行时特性,可以帮助你进一步优化你的网站。其中一些新特性可以用来进行SEO优化以提高网站在搜索引擎中的排名和权重,这些特性包括:
新的Page.MetaKeywords 和 Page.MetaDescription 属性
针对ASP.NET Web Forms的新URL导向支持
新的Response.RedirectPermanent()方法
下面是如何利用这� ......
1.添加js函数
function TextBoxEntered(buttton) {
if (event.which || event.keyCode) {
if ((event.which == 13) || (event.keyCode == 13)) {
document.getElementById(button).click();
return false;
}
......
Web 服务器控件和 Html 服务器控件
一般地,在用 ASP.NET 开发 Web 应用程序时,时时刻刻都与控件打交道,可以说是无处不在,其实 Web 窗体页(.aspx 页)也是控件。
ASP.NET 控件分为 Web 服务器控件(简称 Web 控件)和 Html 服务器控件(简称 Html 控件),都是运行在服务器端。两者有什么区别呢?
我们平时� ......