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

asp°ÑaccessÊý¾Ý¿âÄÚÈݵ¼³öµ½excelµÄ´úÂë

ÎÒдÁËÒ»¶Î£¬µ«ÊÇÓеãÎÊÌâ¡£°ïæ¿´¿´¡£
<% 
  action=request("action") 
  if  action="make_excel"  then'Ö»ÓлñÈ¡Ö¸Áî²Å½øÐвÙ×÷ 
  dim  conn,ConnStr 
  ConnStr="DBQ="+server.mappath("../db/#sdoa.asa")+";DRIVER={Microsoft Access Driver (*.mdb)};"
  set  conn=server.CreateObject("adodb.connection") 
  conn.Open  ConnStr 
  dim  rs,sql,filename,fs,myfile,x 
  Set  fs  =  server.CreateObject("scripting.filesystemobject") 
  '¶¨ÒåÎļþ·¾¶£¬Ö±½ÓΪµ±Ç°Ä¿Â¼ 
  filepath=Request.ServerVariables("APPL_PHYSICAL_PATH") 
  '¶¨ÒåÎļþÃû£¬ÒÔµ±Ç°Ê±¼ä×÷ÎļþÃû£¬²»»áÖظ´ 
  filename  =  filepath&year(now)&month(now)&day(now)&".xls" 
  response.Write(filepath&"sss <br>")
  response.Write(filename)
  if  fs.FileExists(filename)  then 
  fs.DeleteFile(filename) 
    end  if 
  set  myfile  =  fs.CreateTextFile(filename,true) 
  Set  rs  =  Server.CreateObject("ADODB.Recordset") 
  sql&nbs


Ïà¹ØÎÊ´ð£º

Ç뾫ͨasp³ÌÐòµÄÅóÓÑ°ïæÐÞ¸ÄÍøÕ¾

ÎÒÃÇÓÐÒ»¸öÍøվģ°å£¬www.c111.com.cn,Ï£ÍûÐÞ¸ÄһЩµØ·½£º
1£©µã»÷×ó²à¡°·þÎñÆ·ÅÆ¡±µÄÆäÖÐÒ»¸öС·ÖÀ࣬Èç¡°×ãÇò¡±£¬½çÃæµÄÓÒ²à¾Í³öÏÖÈçwww.c111.com.cn/1.jpg£¬µã»÷1.jpgÉÏ·½µÄÆäÖÐÒ»¸öÆ·ÅÆlogo£¬ÏÂÃæ¾Í³öÏÖÏà¹ØµÄÍ ......

Çó¸ÄÒ»¸öASPС³ÌÐò¼ÓÉÏ´«¹¦ÄܺÍÏÂÔع¦ÄÜ¡£¡£

Îļþ£ºfolder.inc
HTML code:

<%
Dim folderini,pos,pageName
fPath = Request.ServerVariables("PATH_TRANSLATED")
pos = instrRev(fPath,"\")
folderini = Left(fPath,pos)+&qu ......

aspÔõÑùʵÏÖ¸ÊÌØͼµÄЧ¹û£¿ - Web ¿ª·¢ / ASP

ÓÐË­Äܸø½²½²£¬Ôõô×öÂð£¿
ллÀ²£¡
¸ÊÌØͼ ÊÇɶ£¿

½âÌâ˼·.¿´Ò»Ï½ø¶ÈÌõµÄÏÔʾ..
ÆäʵÄã¾ÍŪһ¶Ñtable ÿ¸ötableµÄ¿í¶È²»Í¬.µ×É«²»Í¬¼´¿É
µ±È»ÓÃdiv¿ØÖÆλÖøüºÃ

ÄãŪ100¸ötable¸ù¾Ý½ø¶ÈÆäÖÐÇ°20¸ö·Ö¸øµ ......

asp¸úAccessÊý¾ÝÁ¬½ÓÎÊÌâ¡£

IsSqlDataBase = 0 'Ö÷Êý¾Ý¿âÀàÐÍ(1=SQL£¬0=AC)

'===========================================================================
SqlDatabaseName = "ads365" 'Ö÷Êý¾Ý¿âÃû
S ......

aspÓÐûÓÐʲô±È½ÏºÃµÄchat×é¼þ£¿ - Web ¿ª·¢ / ASP

owc11Âú×ã²»ÁËÒªÇó£¬ÓÐûÓиüºÃµãµÄ£¬aspÄܵ÷ÓõÄ
Ŀǰû·¢ÏÖ£¬°ïÄ㶥£¡

Ó¦¸ÃûÓÐÁË°É

×ÔÒÑд¡£¶¥

°ï¶¥£¬¹Ø×¢£¡

ºÃÏñ¾ÍÕâ¸öÁË£¬Ä¿Ç°»¹Ã»¿´µ½ÆäËûµÃÉÏÊÐʹÓᣡ£¡£°ï¶¥£¡

×Ô¼ºÔÙ¶¥Ò»ÏÂ

ºÃÏñÊÇûÓÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ