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

Asp.NET XMLHTTP»ñÈ¡ÍøÒ³ÄÚÈÝC#°æ

Ê×ÏÈÐèÒªÔÚÏîÄ¿ÖÐÌí¼Ó(Microsoft XML, v3.0)µÄÒýÓÃ
using MSXML2;
private string VerifyNotifyURL(string URL)
{
    MSXML2.XMLHTTPClass xmlhttp=new MSXML2.XMLHTTPClass();
    try
    {
        xmlhttp.open("GET",URL,false,null,null);
        xmlhttp.setRequestHeader("CONTENT-TYPE","text/xml;charset=gb2312");            
        xmlhttp.send(null);
        return System.Text.Encoding.GetEncoding("gb2312").GetString((byte[])xmlhttp.responseBody);
    }
    catch 
    {
        return "";
    }            
}


Ïà¹ØÎĵµ£º

asp.netµÄMISϵͳ

ϵͳ¼òµ¥½éÉÜ£º
    ºÜ±ê×¼µÄÅäÖãºasp.net 2.0+SqlServer 2000 or 2005,һЩͳ¼ÆÍ¼²ÉÓõÄÊÇflash¼¼Êõ~¸Õ±ÏÒµµÄʱºòÔÚÒ»¼Òµç×ÓÕþÎñ¹«Ë¾¹¤×÷ʱ¿ª·¢µÄ£¬ÕâÌ×ϵͳǿ¾ÍÇ¿ÔÚËü²»ÊÇÓ¦ÓÃϵͳ£¬¶øÊÇÒ»¸ö¹¤¾ß£¬¿ÉÒÔÔڴ˹¤¾ß»ù´¡ÉÏ£¬¾­¹ý¶þ´Î¿ª·¢£¬ÑÜÉú³öÂú×ãÕþ¸®²¿ÃÅÐÅÏ¢»¯ÐèÇóµÄÓ¦ÓÃϵͳ£¡£¡
    Õ ......

asp.net »ñÈ¡ÉÏ´«Í¼Æ¬µÄ´óС


System.Drawing.Image imgPhoto = System.Drawing.Image.fromFile("ͼƬ·¾¶Ãû");   
int sourceWidth = imgPhoto.Width;   //ͼƬ¿í¶È
int sourceHeight = imgPhoto.Height;   //ͼƬ¸ß¶È
¿Ø¼þÃû.PostedFile.ContentLength &n ......

asp.net Ö±½Ó ´ÓÊý¾Ý¿â ÏÂÔØ Îļþ

µ±ÎÒÃÇÏëÒª´ÓÍøÉÏÏÂÔØÎļþʱ£¬Í¨³£µÄ×ö·¨ÊÇÔÚ·þÎñÆ÷ÉϵÄij¸öĿ¼ÏÂÉú³ÉÒ»¸öÎļþ¡£
protected void DownloadFile(string filename)
{
string saveFileName = "test.xls";
int intStart = filename.LastIndexOf("\\") + 1;
saveFileName = filename.Substring(intStart, filename.Lengt ......

ASP.NETÒ³Ãæ´«ÖµµÄ·½·¨


ÔÚÃæÊÔµÄʱºò£¬¾­³£»áÓöµ½ÕâÑùµÄÎÊÌ⣬ÆäʵÎÒÃÇ»á¶ÔÆäÖеļ¸ÖÖ·½·¨±È½ÏÊìϤ£¬ÒòΪÏîÄ¿Öо­³£Ê¹Óᣵ«ÊÇÒªÈ«ÃæµÄ»Ø´ðASP.NETÖÐÒ³Ãæ´«ÖµµÄ·½Ê½£¬¹À¼ÆÍùÍùºÜÄÑÈ«Ãæ¡£
Ò».
ʹÓÃQueryString±äÁ¿
¡¡¡¡¡¡¡¡QueryStringÊÇÒ»Öַdz£¼òµ¥Ò²ÊÇʹÓñȽ϶àµÄÒ»ÖÖ´«Öµ·½Ê½£¬µ«ÊÇËü½«´«µÝµÄÖµÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÖÐ,Èç¹ûÊÇ´«µÝÒ»¸ö»ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ