ASP.NETÖÐtreeviewÓ¦Óã¨ÓÃSQL×÷Êý¾ÝÔ´£©
treeview.aspxÖдúÂëÈçÏ£º
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="treeview.aspx.cs" Inherits="treeview" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ÎÞ±êÌâÒ³</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TreeView ID="TreeView1" runat="server" ImageSet="Msdn" NodeIndent="10">
<ParentNodeStyle Font-Bold="False" />
<HoverNodeStyle BackColor="#CCCCCC" BorderColor="#888888" BorderStyle="Solid" Font-Underline="True" />
<SelectedNodeStyle BackColor="White" BorderColor="#888888" BorderStyle="Solid" BorderWidth="1px"
Font-Underline="False" HorizontalPadding="3px" VerticalPadding="1px" />
<NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
NodeSpacing="1px" VerticalPadding="2px" />
</asp:TreeView>
</div>
</form>
</body>
</html>
treeview.aspx.csÖдúÂëÈçÏ£º
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using Sy
Ïà¹ØÎĵµ£º
ÏÈ¿´¿´ASP.NETÒ³ÃæË¢ÐµÄʵÏÖ·½·¨£º
µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.locatio ......
Õâ´ÎÔÚÏîÄ¿ÖУ¬Óõ½ÁË´óÎļþÉÏ´«£¬ÒªÉÏ´«µÄÎļþÓÐ100¶àm£¬ÓÚÊÇÑо¿ÏÖÔÚ¹úÄÚʹÓõĴóÎļþÉÏ´«µÄ
×é¼þ·¢ÏÖÓõıȽ϶àµÄÓÐÁ½¸ö¿Ø¼þAspnetUpload 2.0ºÍLion.Web.UpLoadModule£¬ÁíÍ⻹ÓÐ˼¹éÔÚËüµÄ²©
¿ÍÌÃÖÐËù˵µÄ°ì·¨ http://blog.joycode.com/saucer/archive/2004/03/16/16225.aspx
Á½¸ö¿Ø¼þµÄ·½·¨ÊÇ£ºÀûÓÃÒþº¬µÄHttpWork ......
ÏÈÉý¼¶ieµ½5.5°æÒÔÉÏ
1 ÏÂÔØÖÐÎİæIE6:http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/CN/ie6setup.exe
2 ÏÂÔØmdac°²×° Ö±½ÓÏÂÔØ2.8ÖÐÎİæ:http://download.microsoft.com/download/8/b/6/8b6198c0-fe96-4811-9d81-
d5c76dd5fea8/MDAC_TYP.EXE
3 È»ºóÏÂÔØ.NET Framework 1.1°æ¿ÉÔ ......