ASP ACCESSÊý¾Ý¿âµÄÎÊÌâ - Web ¿ª·¢ / ASP
ÎÊÌâÈçÏÂ:
ÔÚÍøÒ³ÖÐÐÞ¸ÄÊý¾Ýºó,ACCESSÊý¾Ý¿âÖжÔÓ¦µÄÊý¾Ý±íÖÐȴûÓÐдÈëÐ޸ĺóµÄÊý¾Ý;
È»¶øÔÚÍøÒ³Öвéѯ¸ÕÐ޸ĵÄÊý¾Ý,È´¿ÉÒÔÏÔʾ³öÐ޸ĺóµÄÊý¾Ý.
¸Õ½Ó´¥µ½ASP,Çë¸÷λ´ïÈËÖ¸½Ì!
¿Ï¶¨ÊÇÊý¾Ý±í¸ã´íÀ²
²»»á°É ¼ÈȻûÓÐдÈë Ôõô¿ÉÄܲéѯ³öÀ´
¶àлÁ½Î»µÄ»Ø¸´!
ÎÒÒ²ºÜÄÉÃÆ,Êý¾Ý±íÊÇûÓдíµÄ,Òª²»ÍøÒ³ÖÐÒ²²»»áÏÔʾ³öÐ޸ĹýµÄÊý¾ÝÁË.
¶øÇÒÈôÎÒÊÇÖ±½ÓÐÞ¸ÄACCESSÖÐÊý¾Ý±íµÄÄÚÈÝ,ÔÚÍøÒ³ÖвéѯȴÏÔʾµÄÊÇÐÞ¸ÄÇ°µÄÊý¾Ý.
Çó½âÖÐ..
Âé·³Ä㿴һϣ¬ÐÞ¸ÄÊý¾ÝÊÇ
*********£¬conn,2,3
*
*
*
rs.update
~~~~~~~~~~~~~~~~~~~~~~~~
Ìí¼ÓÊý¾ÝÊÇ£º
********,conn,1,3
rs.addnew
#
#
#
rs.update
×¢£º*±íʾSQLÓï¾äºÍ±í²Ù×÷
¸Ð¾õÄãÐÞ¸ÄÌáʾºó£¬SQLÊÇÌí¼Ó¼Ç¼ÁË¡£
ºÜÃ÷ÏÔ Äã²éѯµÄ ÊÇÁíÒ»Õűí Ð޸ĵÄÒ²ÊÇÁíÒ»Õűí
ÄãÊÖ¶¯Áí¸ÄµÄÄÇÕűí¸ú±¾²»ÊÇÄãÓà ³ÌÐò¿ØÖƵÄÄÇÕűí
Ìí¼ÓÊý¾ÝµÄ²Ù×÷ÈçÏÂ:
set rs=server.createobject("adodb.recordset")
sqltext="select * from Class_1"
rs.open sqltext,conn,3,3
'Ìí¼ÓÒ»¸öÉÌÆ·´óÀൽÊý¾Ý¿â
rs.addnew
rs("Class_1_name")=request.form("class_name")
rs.update
Ìí¼Óºó»áÓÐÌáʾÐÅÏ¢,Òѳɹ¦Ìí¼Ó,ÇÒ²éѯ¿ÉÏÔʾ;¿É´ò¿ªÊý¾Ý±íȴû¼ûÌí¼ÓºóµÄÊý¾Ý..
Class_1
È·¶¨ÊÇÕâ¸ö±í
¶àл»Ø¸´!
È·¶¨ÊÇClass_1Õâ¸ö±í,ÇÒÈçÈô²»ÊÇдÈëÕâ¸ö±í,¶øÊÇдÈëÆäËü±í,µ«ÆäËüµÄ±íÖÐҲûÓдæÔÚÐ޸ĺóµÄÊý¾Ý.
ÍÛ¿¿ ²»ÒªÏÅÎÒ&nb
Ïà¹ØÎÊ´ð£º
ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ã棬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
ÔõÑù½«ASP³ÌÐòת»»Îª.NET³ÌÐò ?
ÕÒ¸öÈ«²Å·Òë¡£
ÊÖ¶¯È¥Ð´
¸Ð¾õд¹ýaspµÄ£¬À´Ð´asp.net£¬ÉÏÊÖÓ¦¸Ã¿ìµã¡£
¸üÄÜÀí½âasp.netµÄһЩÄÚ²¿¼¼Êõ
asp.net¶¼±»·â×°ÁË
ÎÒÊÇ×ö.NetµÄ£¬¶ÔASPһֱû½Ó´¥µ½£¬ºÜÄ°Éú¡£
¹« ......
ÏÖÓÐÒ»¸ö±í¸ñ£¬ÓкܶàÐÐÊý×é¡£
ÏëÒªÒ»¸ö½Å±¾£¬¶ÁÈ¡ËùÓÐÐеÄÊý×éºóÊä³ö¡£
Êä³öÇ°²»ÏÔʾÕý³£Ë³ÐòµÄ±í¸ñÊý×飬¶øÖ±½ÓÏÔʾ³ö¶ÁÈ¡ºóµÄÊý×é¡£
Â¥Ö÷µÄ±í´ïʵÔÚ³ÉÎÊÌ⣡£¡
ÊDz»ÊÇÕâ¸öÒâ˼£¿
<%
Dim ArrDNA£¨10£¬10£ ......