Asp Öö¥ - VB / ÍøÂç±à³Ì
aspÖö¥ÎÊÌ⣬µã»÷Öö¥³¬Á´½ÓÈçºÎÈ¥Ö´ÐÐsqlÓï¾ä
Çë¸÷λ¸ßÊÖ°ï°ïæ
Óе㿴²»Ì«¶® ÄãÊÇÒªÖö¥ »¹ÊÇÒªÖ´ÐÐSQL?
µã»÷ÎÄ×ÖÁ´½ÓʱÔõôȥִÐÐsqlÓï¾ä
ÒªÓÃaspÁ¬½Ó°´Å¥£¨LinkButton£©È¥Ö´ÐÐsqlÓï¾ä£¬¶ø²»ÊÇÓÃÍøÒ³³¬Á¬½ÓÈ¥Ö´ÐÐSQLÓï¾ä¡£
Äã˵µÄÊÇasp.netµÄ·½·¨°É£¬aspÀïûÓУ¨LinkButton£©°´Å¥µÄ
ASP²»ÊǺÜÁ˽â
ÎÄ×ÖÁ´½Ó µã»÷²»ÊÇÓÐʼþµÄÂð? ÄãÔÚʼþÀïд²»¾ÍÐÐÁË?
ÎÄ×ÖÁ´½ÓÖ»ÓÐÒ»¸öÁ´½ÓµØÖ·Âð?
asp°Ñ½çÃæÉè¼ÆºÍ³ÌÐòÉè¼Æ»ìºÏÔÚÒ»ÆðµÄ£¬ÓÐvbscript½Å±¾¡¢html£¬Óëasp.net²»Ò»Ñù£¬ËùÒÔËüûÓУ¨LinkButton£©°´Å¥
ÉèÒ»¸öÖö¥µÄ±êÖ¾×Ö¶Î,²éѯµÄʱºò°ÑÕâ¸ö×Ö¶ÎÅÅÐò¾ÍÍêÊÂÁË
·Ç³£¸Ðл¸ßÊÖ°ïæ
Ïà¹ØÎÊ´ð£º
function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
aspÐéÄâÖ÷»úʵÏÖα¾²Ì¬µÄ·½·¨£º
1¡¢ ÖØÐ´url²ÎÊý
Step1: ½¨Á¢Ç°Ì¨Îļþindex.asp£¬ÐÞ¸Äurl²ÎÊýÐÎʽ¡£ÓÉÓÚ¶ÁÈ¡Êý¾Ý¿âÖеļǼ²»ÊÇרÌâµÄÖØµã£¬¹ÊÖ±½Ó¸ø³ö:
<!--#include file="config.asp" -->
&l ......
ÏÖÔÚÎÒÏë¸ù¾ÝtreeviewÉÏÿ¸ö½ÚµãµÄȨÏÞ£¬Ã»ÓÐȨÏ޵Ľڵ㲻Äܱ»Ñ¡ÖУ¬¶øÇҳɻÒÉ«£¬ÔõôʵÏÖ£¬ÔÚÏߵȡ£¡£¡£
Õâ¸ö£¿¡£¡£¡£
Ã²ËÆÃ»·¨¡£
ÊÔÊÔÄܲ»ÄܸÄijЩnodeµÄÑÕÉ«£¬¼Ç¼ÏÂÉϴεÄnodeclickÀïµÄnode¡£
Ï´εã»÷µÄÈç¹ ......
ÏÖÔÚÓиöxmlÎļþÊÇ<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xm ......
ÎÊÌ⣺
ÏÖÔÚAccessÊý¾Ý¿âÖÐÓÐÁ½ÕűíTableAºÍTableB
TableAÖÐÓмǼÈçÏÂ:
×Ö¶Î1(Name) ×Ö¶Î2(Num)
A 3
A 4
B 6
... ......