¡¾ASP.net¼¼ÇÉ¡¿asp.netµ¯³ö´°¿Ú ·µ»ØÖµ
¸Õ¸Õ ¿´µ½Õâôһ¸öÎÊÌ⣬ÕâÀïÒ²×ö¸ö±ê¼Ç£ºhttp://topic.csdn.net/u/20080411/14/7b0f9da5-0413-4149-91e9-72c3df3018a3.html?seed=327251592
µÚÒ»ÖÖ·½Ê½£º
//ÔÚVisual Studio 2008Öе÷ÊÔͨ¹ý
testPop_Page.aspx:Ö÷Ò³ÃæASPX´úÂë
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" >
function Pop()
{
var result = showModalDialog('testPop_downs.aspx', 'subpage', 'dialogWidth:800px;dialogHeight:600px;center:yes;help:no;resizable:yes;status:no'); //´ò¿ªÄ£Ì¬×Ó´°Ìå,²¢»ñÈ¡·µ»ØÖµ
document.getElementById("txt_id").value=result.split("'")[0]; //·µ»ØÖµ·Ö±ð¸³Öµ¸øÏà¹ØÎı¾¿ò
document.getElementById("txt_name").value=result.split("'")[1];
document.getElementById("txt_pwd").value=result.split("'")[2];
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="txt_id" runat="server" ></asp:TextBox>
<asp:TextBox ID="txt_name" runat="server" ></asp:TextBox>
<asp:TextBox ID="txt_pwd" runat="server" ></asp:TextBox>
<br />
<asp:Button ID="btnPop" runat="server" Text="PoPWindows" OnClientClick ="Pop()"
&nbs
Ïà¹ØÎĵµ£º
Ҫʹ ASP.NET Web Ó¦ÓóÌÐòÄܹ»Ê¹Óÿͻ§¶ËÖ¤Ê飬Äú±ØÐëÔÚ±¾µØ¼ÆËã»ú´æ´¢Öа²×°¿Í»§¶ËÖ¤Êé¡£Èç¹ûÄúÔÚ±¾µØ¼ÆËã»ú´æ´¢Öа²×°¿Í»§¶ËÖ¤Ê飬Ôò¸Ã¿Í»§¶ËÖ¤Êé½ö¶Ô¹ÜÀíÔ±×éÖеÄÓû§ÕÊ»§ºÍ°²×°¸Ã¿Í»§¶ËÖ¤ÊéµÄÓû§¿ÉÓá£Òò´Ë£¬Äú±ØÐëÏòÓÃÓÚÔËÐÐ ASP.NET Web Ó¦ÓóÌÐòµÄÓû§ÕÊ»§ÊÚȨ£¬Ê¹ÆäÄܹ»·ÃÎʿͻ§¶ËÖ¤Êé¡£
×¢Ò⣺±ØÐë°²×° Microso ......
'--------------------------------------------------------------
'ASP°æHashMapʵÏÖ
'¸ÃʵÏÖ´æ´¢Êý¾ÝΪÓÐÐòÊý¾Ý,ÀàËÆJavaÖеÄLinkedHashMap
'--------------------------------------------------------------
Class HashMap
dim arr()
dim arr_len
'¹¹Ô캯Êý
private Sub Clas ......
SQL:
using System.Data.SqlClient;
string sql = "server=.;uid=sa;pwd=;database=tablename;";
ACCESS:
using System.Data.OleDb;
string sql = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=" + HttpRuntime.AppDomainAppPath + "//App_Data//db.mdb";
HttpRuntime.AppDomainAppPath Ϊ¸ùĿ¼
......
ASP.NET 2.0
Îļþ£±: Deafault.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&l ......
ÔÚûÓÐ<asp:UpdatePanel ID="up" runat="server"> <ContentTemplate>ÎÞˢл·¾³ÖУº
Response.Write("<script>alert('¹§Ï²Äú£¬Òѳɹ¦¼ÓÈëµ½ÄúµÄÈ˲ſ⣡');</script>");
ÔÚÓÐ<asp:UpdatePanel ID="up" runat="server"> <ContentTemplate>ÎÞˢл·¾³Ö ......