asp+xmlÁôÑÔ°åÄã·ÖÒ³ÎÊÌâ - Web ¿ª·¢ / ASP
VBScript code:
<%
strSourceFile=Server.MapPath("guestbook.xml")
Set objXML=Server.CreateObject("Microsoft.FreeThreadedXMLDOM")
objXML.load(strSourceFile)
Set objRootsite = objXML.documentElement.selectSingleNode("NewList")
%>
<%
'ÿҳ´óС
pageSize=4
'ËùÓнڵãÊý
AllNodesNum=objRootsite.childNodes.length-1
'×ÜÒ³Êý
PageNum=AllNodesNum\PageSize+1
'µÚ¼¸Ò³²ÎÊý
PageNo=request.querystring("pageNo")
if PageNo=""then
PageNo=PageNum
end if
'¿ªÊ¼½Úµã
StarNodes=PageNo*PageSize-1
'½áÊø½Úµã
EndNodes=(PageNo-1)*PageSize
if EndNodes<0 then
EndNodes=0
end if
'ÅжÏÆðʼ½ÚµãÊÇ·ñ³¬¹ý×ܽڵãÊý
if StarNodes>AllNodesNum then
EndNodes=EndNodes-(StarNodes-AllNodesNum)
StarNodes=AllNodesNum
end if
if EndNodes<0 then
EndNodes=0
end if
while St
Ïà¹ØÎÊ´ð£º
ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......
ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......
sqlserverµÄÊý¾Ý¿â£¬×Ö¶ÎÊÇimageÀàÐ͵ġ£Ôõôд´úÂ룬ÔÚÒ³ÃæÖеã»÷¡°ÏÂÔØ¡±¾ÍÄÜ´ò¿ªÄǸöÏÂÔضԻ°¿ò£¿
PS£ºOracleLob ÔÚsqlserverÀïÊÇʲô£¿
Response.Redirect("test.jpg")
ÒýÓÃ
Response.Redirect( ......
ÄÄÀïÓÐÃâ·ÑµÄASP.NET¿Õ¼ä£¿£¿Á·ÊÖÓÃµÄ Ð»Ð»
5944µÄ¿Õ¼äÊÇÆ×Ó£¬×Ô¼ºËÑÒ»ÏÂÊÔÊÔ£¬Ãâ·ÑµÄÓУ¬Ò»°ã¶¼ÊÇÈýÌìÊÔÓã¬Ò»¹ýÄã¾ÍÒª½»·ÑÁË
ÒýÓÃ
5944µÄ¿Õ¼äÊÇÆ×Ó£¬×Ô¼ºËÑÒ»ÏÂÊÔÊÔ£¬Ãâ·ÑµÄÓУ¬Ò»°ã¶¼ÊÇÈýÌìÊÔÓã¬Ò»¹ýÄ ......