Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASPÁ¬½ÓSQLiteÊý¾Ý¿âÒ»Àý

ÒªÓÃASPÀ´²Ù×÷SQLiteÊý¾Ý¿â£¬Ç°ÌáÌõ¼þÊÇÔÚ·þÎñÆ÷Éϵð²×°SQLiteµÄODBCÇý¶¯³ÌÐò£¬¿Éµ½Õâ¸öÕ¾µãÉÏÏÂÔØ°²×°£ºhttp://www.ch-werner.de/sqliteodbc/£¬°²×°ºÃºó¾Í¿ÉÒÔÏñʹÓÃAccessÒ»ÑùÀ´Ê¹ÓÃSQLiteÁË£¡Ï±ßÊÇÒ»¸öSQLiteÊý¾Ý¿â½á¹¹£º
ÒýÓÃÄÚÈÝ
Create TABLE admin(username text,age integer);
ÎÒÃÇÔÙÀ´ÓÃASPÑÝʾÏÂÈçºÎ¶ÔSQLiteÊý¾Ý¿â½øÐмǼµÄÔö¡¢²é¡¢¸Ä¡¢É¾²Ù×÷£º
³ÌÐò´úÂë
<%
Response.Buffer = False '²»¼Ó´Ë¾ä¿ÉÄܳöÏÖ"³¬¹ýÏìÓ¦»º³åÇøÏÞÖÆ"´íÎó
Set conn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.RecordSet")
conn.open "DRIVER={SQLite3 ODBC Driver};Database=F:\mzwucom\bbs\db1.db"
conn.execute("insert into admin values('usera',20)")
'conn.execute("update admin set username='kk' where username='usera'")
'conn.execute("delete from admin where age=20")
rs.open "select * from admin",conn,1,1
Do while Not rs.Eof
     Response.Write(rs("username") & "," & rs("age") & "<br/>")
     rs.movenext
Loop
rs.close
Set rs = Nothing
conn.close
Set conn = Nothing
%>


Ïà¹ØÎĵµ£º

ʹÓÃJQueryºÍASP´òÔìAutoComplete¹¦ÄÜ

¿Í»§¶Ë´úÂ룺
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Ê ......

Á©º¯Êý¸ã¶¨aspµÄormÓ³Éä[Ô­´´]

Á©º¯Êý¸ã¶¨aspµÄormÓ³Éä
orm±ØÐëÓõ½ÊµÌåÀ࣬ÏñC#ÕâÑùµÄÓïÑÔ Ð´ÊµÌåÀàͦʹ¿àµÄ£¬³ý·ÇÓù¤¾ß
¶øaspÓиöºÃ´¦£¬ÒòΪËû¿ÉÒÔ¶¯Ì¬¹¹½¨Ò»¸ö×Ö·û´®²¢°Ñ´Ë×Ö·û´®¶¯Ì¬½âÎöΪ´úÂ룬Ҳ¾ÍÊÇËûµÄ execute ºÍ ExecuteGlobal Á©º¯Êý
ÏÂÃæÕâ¸öº¯ÊýÊÇ  ʵÌåÀàÉú³ÉÆ÷ Ö»Òª´«ÈëÁÐÃû×Ö·û´®¾ÍÄÜÉú³É Ò»¸öÈ«¾Ö¿ÉÓõÄÀà
'¶¨ÒåÒ»¸öʵÌåÀà
' ......

ASP.NETÖ®¶þ ASP.NET°²È«¼°²¿Êð

ASP.NETÖеÄÉí·ÝÑéÖ¤(authentication)ÓÐÄÄЩ
=========================================
FormsÉí·ÝÑéÖ¤£º
ͨ¹ýÆä¿É½«Ã»ÓÐͨ¹ýÉí·ÝÑéÖ¤µÄÇëÇóÖØ¶¨Ïòµ½Ê¹Óà HTTP ¿Í»§¶ËÖØ¶¨ÏòµÄ HTML ´°ÌåµÄϵͳ¡£Óû§Ìṩƾ
¾Ý²¢Ìá½»¸Ã´°Ìå¡£Èç¹ûÓ¦ÓóÌÐòÑéÖ¤¸ÃÇëÇó£¬ÏµÍ³¾Í»á·¢³ö°üº¬Æ¾¾Ý»òÃÜÔ¿µÄ Cookie ÒÔÖØÐ»ñÈ¡¸Ã±êʶ
¡£ºóÐøµÄ ......

asp½ûÖ¹Íⲿ·þÎñÆ÷Ìá½»±íµ¥µ½·þÎñÆ÷

½ûÖ¹Õ¾ÍâÌá½»±íµ¥µÄasp´úÂëÈçÏ£º
<%
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
if mid(server_v1,8,len(server_v2))<>server_v2 then
response.write "<br><br><center><table border=1 cellpadding=20 bo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ