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

¹ØÓÚASPµ¼³öEXCEL±í¸ñÎÊÌâ.

HTML code:
<%
Response.Buffer = TRUE
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "content-disposition", "inline; filename = "¿Í»§ÐÅÏ¢±í.xls"

%>

ÎÒÓÃÉÏÃæÕâÖÖ·½·¨µ¼³öEXCEL±í¸ñ,ΪʲôֻÄܵ¼³ö1000ÐÐ,²»ÄÜÔÙ¶àÁËÂð?ÎÒ¿âÀïµÄÊý¾Ý²»Ö¹Ò»Ç§Ðа¡.

ÎÒ¾õµÃ²»ÊÇ Response µÄÎÊÌ⣬ÊDz»ÊÇÊý¾Ý¿âÅäÖ㬻òÊý¾Ý¿âÓï¾ä²»¶Ô£¿

²é³öÀ´È·ÊµÊÇ´óÓÚһǧÐеÄ,µ«ÏÂÔØÏÂÀ´,¾ÍÖ»ÓÐһǧÐÐÊý¾Ý.

´úÂëµ÷ÊÔʱ Êý¾ÝÔÚÓÚ1000Ìõ£¬Êä³ö³ÉexcelʱֻÓÐ1000Ìõ£¿Ã»ÓÐÓöµ½ÕâÖÖÇé¿ö¡£

ÎÒ¶¼ÊÇÓà <table> <tr> <td> </td> </tr> </table> ÕâÖÖ¸ñʽֱ½Ó±£´æÎªxls Ò²¿ÉÒÔ±»excelÖ±½Ó´ò¿ª

ÒýÓÃ
´úÂëµ÷ÊÔʱ Êý¾ÝÔÚÓÚ1000Ìõ£¬Êä³ö³ÉexcelʱֻÓÐ1000Ìõ£¿Ã»ÓÐÓöµ½ÕâÖÖÇé¿ö¡£

ÎÒ¶¼ÊÇÓà <table> <tr> <td> </td> </tr> </table> ÕâÖÖ¸ñʽֱ½Ó±£´æÎªxls Ò²¿ÉÒÔ±»excelÖ±½Ó´ò¿ª
µ«È·Êµ±£´æÎªXLSºóÖ»ÓÐһǧÌõÊý¾ÝŶ

¿ÉÒÔÊÔÊÔÔÚexcelÖÐ×öºÃÎļþ£¬È»ºó±£´æ³Éhtm£¬ÔÚÐ޸ijÉaspÕâÑùµÄ°ì·¨¡£ÎÒ×öÁËûÅöµ½1000ÐÐÕâÑùµÄÎÊÌâ¡£




Ïà¹ØÎÊ´ð£º

¶¯Ì¬È¡µÃaspÀà³ÉÔ±

ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......

ASPα¾²Ì¬ - Web ¿ª·¢ / ASP

aspÐéÄâÖ÷»úʵÏÖα¾²Ì¬µÄ·½·¨£º
1¡¢ ÖØÐ´url²ÎÊý
Step1: ½¨Á¢Ç°Ì¨Îļþindex.asp£¬ÐÞ¸Äurl²ÎÊýÐÎʽ¡£ÓÉÓÚ¶ÁÈ¡Êý¾Ý¿âÖеļǼ²»ÊÇרÌâµÄÖØµã£¬¹ÊÖ±½Ó¸ø³ö:
<!--#include file="config.asp" -->
&l ......

ÇóÖúasp.netͼƬÉÏ´« - .NET¼¼Êõ / ASP.NET

¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£

ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......

js¿ØÖÆasp¿Õ¼ädropdownlist - .NET¼¼Êõ / ASP.NET

ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ­°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......

ÓÃASP.NETÔÚÍøÒ³ÉÏÏÔʾËõÂÔͼ - .NET¼¼Êõ / ASP.NET

×î½üÓöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÒ»¸ö³ÌÐòÖÐÓÐÒ»¸ö²é¿´ÊÕ¼þµÄ¹¦ÄÜ£¬ÒòΪÎļþ½Ï¶à£¬ÓÐͼƬ¡¢Exal..... ÎÒÏëÔÚÒ»¸öÁбíÖÐÏÔʾ³öËüÃǵÄËõÂÔͼ£¬»¹ÓÐÒ»µã£¬ÎÒ´æ·ÅÊý¾Ý¿âµÄ·½Ê½ÊÇÓöþ½øÖÆ·½Ê½£¬¿ª·¢ÓïÑÔ asp.net(C#) Çë¸÷λ¸ßÊÖ°ïà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ