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

Asp.net»ñÈ¡ÉÏ´«Í¼Æ¬´óСµÄ³ß´ç£¡

1.²ÉÓÃÁ÷È¡µÃͼƬ´óС¡¡
Stream stream=file.PostedFile.InputStream;
System.Drawing.Image image=System.Drawing.Image.fromStream(stream);
Image.Width
Image.Height
2.ʹÓÃÎļþµÃµ½Í¼Æ¬´óС
System.Drawing.Image image=System.Drawing.Image.fromFile£¨Í¼Æ¬Â·¾¶£©
Image.Width
Image.Height


Ïà¹ØÎĵµ£º

asp.net µ¼³öExcel/Word

asp.netÖе¼³öÓкܶ෽·¨¡£ÆäÖбȽÏÍÆ¼öµÄ¼æÈݵ¼³öÊǵ¼³öΪword/excel¼æÈݵÄmhtml¸ñʽ²¢ÉèÖÃÁ÷¸ñʽΪword»òexcel¡£
ÕâÖз½·¨µÄºÃ´¦ÊÇ¿ÉÒÔ½¨Á¢Ò»¸öͨÓõĿ⡣±¾ÎÄÖÐÌá³öÁËÒ»¸öͨÓõĵ¼³öÀ࣬ʵ¼ùÖÐʹÓÃЧ¹û½ÏºÃ¡££¨ps£¬html½âÎöÀàдµÄ±È½Ï²Ö´Ù£¬¸÷λÈçÓÐÐËȤ¿ÉÖØÐ´Ò»ÏÂ~£©
///
///@Author Simsure
///@Version 1.0
/// ......

ASP.NET MVC¼°IIS6.0ÅäÖÃ×ܽá

1. config½á¹¹
     Framework\Config\Machine.config, ΪËùÓÐconfigµÄ¸ù£¬ÌرðÖ»ÓÐËü²ÅÄܾßÓÐ<processMode>½Ú£¬¸Ã½ÚÐ޸ĺó±ØÐëÖØÆôIIS·½ÄÜÉúЧ£¬¶øÆäËü½ÚµÄ¸Ä¶¯£¬Ö»ÒªÒ»±£´æ£¬¾ÍÓÐЧÁË£¬ÕâÊÇIIS6µÄÒ»´ó½ø²½¡£
    ÒÔÏ·ֱðÊÇ´ÓÉÏÍùÏµļ¸¸ö¼Ò×åÀࣨΪ¼Ì³Ð¹ØÏµ£¬ÕâÖÖÉè¼Æ¿ÉÒÔ´ó ......

ASP.NETÒ³Ãæ¼äÊý¾Ý´«µÝµÄ·½·¨±È½ÏºÍ·ÖÎö

from:http://www.pccode.net/info/2010/02/24/20100224-1732.html
±¾ÎÄÎÒÃǽ«ÌÖÂÛµÄÊÇASP.NETÒ³Ãæ¼äÊý¾Ý´«µÝµÄ¼¸ÖÖ·½·¨£¬¶Ô´ËÏ£ÍûÄܰïÖú´ó¼ÒÕýÈ·µÄÀí½âASP.NETÒ³Ãæ¼äÊý¾Ý´«µÝµÄÓô¦ÒÔ¼°±ãÀûÐÔ¡£
0¡¢ÒýÑÔ
WebÒ³ÃæÊÇÎÞ״̬µÄ£¬
·þÎñÆ÷¶Ôÿһ´ÎÇëÇó¶¼ÈÏΪÀ´×Ô²»Í¬Óû§£¬Òò´Ë£¬±äÁ¿µÄ״̬ÔÚÁ¬Ðø¶ÔÍ¬Ò»Ò³ÃæµÄ¶à´ÎÇëÇóÖ®¼ä»òÔ ......

asp.net ÖлñÈ¡ÖÐÎÄÊ××ÖĸµÄ´úÂë Çײâ

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Sy ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ