Asp ȫѡ ¶àÑ¡ÔñÏî JSÒýÓÃ
<script language="JavaScript">
function CheckAll(form) {
var x=form.elements;
for (var i=0;i<x.length;i++)
{
var e = x[i];
if (e.name != 'chkall')
e.checked = form.chkall.checked;
}
}
</script>
--Ò³ÃæcheckboxÄÚ²¿
<input type='checkbox' value='"&rs("ID")&"' name=id>
//ȫѡ°´Å¥checkbox
<input type='checkbox' name=chkall onclick='CheckAll(this.form)'>
<input type="submit" name="action" value="ɾ³ý" onClick="{if(confirm('¸Ã²Ù×÷²»¿É»Ö¸´£¡\n\nȷʵɾ³ýÑ¡¶¨µÄÁôÑÔ£¿')){this.document.book.submit();return true;}return false;}">
Ïà¹ØÎĵµ£º
¡¡¡¡4. ÓÐÊäÈë²ÎÊýºÍÊä³ö²ÎÊýµÄ´æ´¢¹ý³Ì
¡¡¡¡·µ»ØÖµÆäʵÊÇÒ»ÖÖÌØÊâµÄÊä³ö²ÎÊý¡£ÔÚ´ó¶àÊýÇé¿öÏ£¬ÎÒÃÇÓõ½µÄÊÇͬʱÓÐÊäÈë¼°Êä³ö²ÎÊýµÄ´æ´¢¹ý³Ì£¬±ÈÈçÎÒÃÇÏëÈ¡µÃÓû§ÐÅÏ¢±íÖУ¬Ä³IDÓû§µÄÓû§Ãû£¬Õâʱºò£¬ÓÐÒ»¸öÊäÈë²ÎÊý----Óû§ID£¬ºÍÒ»¸öÊä³ö²ÎÊý----Óû§Ãû¡£ÊµÏÖÕâÒ»¹¦ÄܵĴ洢¹ý³ÌÈçÏ£º
/*SP4*/
CREATE PROCEDURE d ......
µÚÒ»ÖÖ£º
'ʹÓÃÊý¾Ý¿âÁ¬½Ó¶ÔÏó²éѯÊý¾Ý¼¯¶ÔÏó£¬Óà set±äÁ¿½ÓÊÕ¡£
set rset1 = conn.execute("select * from productType where id="&request("id"))
'±íʾֻÄÜÈ¡³ö½á¹û¼¯ÀïÃæµÄÖµ£¬µ«ÊDz»ÄÜÈ¡µ½×ܵÄÌõÊýÖ®ÀàµÄ¡£¡£¡£
set rset2 = conn.execute("select top 8 * from productType ......
ÓÉÓÚASP±à³Ì±È½Ï¼òµ¥£¬ËùÒÔÔÚÆóÒµÖÐÓкܶàµÄ¼òµ¥Ó¦Óö¼ÊÇ»ùÓÚÔÚWindows 2000 Server£«ASP£«MSSQLÉϵġ£¶øÕâÒ²ÊÇÆóÒµÏë°ÑÓ¦ÓÃÇ¨ÒÆµ½Linux»·¾³µÄÆäÖÐÒ»´óÕϰ¡£ÈôÒª´ïµ½Ç¨ÒƵÄÄ¿µÄ£¬Í¨³£ÓÐÁ½ÖÖ·½Ê½£º
ÒýÓÃ
1¡¢°ÑASP¸ÄPHP£¬MSSQL»»Mysql£¬Ð§¹ûºÃ£¬ÐÔÄÜÎȶ¨£¬¿É¿¿ÐÔÇ¿£¬µ«ºÄ·Ñʱ¼ä±È½Ï¶à£¬·ÑÓñȽϸߣ¬Óû§²»ÈÝÒ×½ÓÊÜ£»
2¡¢È ......
<%
set conn= server.createobject("ADODB.connection")
conn.open "driver={sybase driver 10};"
"srvr=SYBASE;"
"UID=sa;"
"pwd=sybase;"
sql="select no from tab_st ......
Èç¹ûÔÚÒ»¸öÍøÕ¾µÄÒ³ÃæÖÐÏëµ÷ÓÃÆäËûÍøÕ¾Ò³ÃæÄÚÈÝ£¬Ö±½ÓÓÃһϴúÂë¾Íok£¬http://www.wanyusoft.com/index.asp Õâ¸ö·¾¶¾ÍÊÇËùÒªµ÷ÓõÄÒ³ÃæÂ·¾¶¡£
<%
response.write(getHTTPPage("http://www.wanyusoft.com/index.asp"))
function getHTTPPage(url)
dim http
set http=createobject("MSXML2.XMLHTTP")
Http.o ......