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

asp.netÅúÁ¿ÉÏ´«Í¼Æ¬ - .NET¼¼Êõ / ASP.NET

asp.netÅúÁ¿ÉÏ´«Í¼Æ¬×îºÃÓÐÔ´Â룬ÔÚÏߵȣ¡£¡£¡£¡£¡£¡£¡
Ô´ÂëºÜ³¤µÄ¡£

²Î¿¼

C# code:
HttpFileCollection files = HttpContext.Current.Request.Files;
if (files.Count <= 1)
{
Page.ClientScript.RegisterClientScriptBlock(GetType(), "", "<script>alert('ÇëÌí¼ÓͼƬ¸½¼þ!'); hideWaitLayer();</script>");
}
else
{
try
{
for (int i = 0; i < files.Count; i++)
{
HttpPostedFile postedFile = files[i];
string filepath = System.IO.Path.GetFileName(postedFile.FileName);//»ñÈ¡ÎļþÃû
if (filepath != "")
{
string fileName = filepath.Substring(filepath.LastIndexOf("\\") + 1);
string fileExtensions = fileName.Substring(fileName.LastIndexOf(".") + 1);//»ñÈ¡ºó׺Ãû
//±ÜÃâÒ»´ÎÉÏ´«¶à¸öÔì³ÉÃüÃûÖظ´£¬ÌØ´ËÔÙʱ¼äºóÔÙ¼ÓÒ»¸öÐòºÅ£¬¿¼Âǵ½Óû§Á¿²»»áºÜ´ó£¬¸ü´óµÄ²¢·¢²Ù×÷ÔÚÕâÀï²»¿¼ÂÇ
string newFileName = DateTime.Now.ToString("yyyyMMddHHmmss") + i + "." + fileExtensions;
string serverPath = Server.MapPath("../Adjunct/ImagesNews/" + newFileName);


Ïà¹ØÎÊ´ð£º

asp.net·ÖÒ³ÎÊÌâ

select top 12 * from Product where [id] not in (select top 12 [id] from Product)
ÕâÑù¿ÉÒÔ·ÖÒ³£¬µ«ÊÇÎÒÔÚºóÃæÏë¼Ó¸öÌõ¼þ
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......

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

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

Êý¾Ý±íÉú³ÉÌض¨¸ñʽµÄxml - .NET¼¼Êõ / ASP.NET

´ÓÊý¾Ý¿âÖвéѯһÕűíµÄÊý¾Ý
select ²¿ÃÅ,ÐÕÃû from tb
ÈçºÎ²ÅÄÜÉú³ÉÏÂÃæµÄxml¸ñʽÎļþ
<folder state="unchecked" label="È«²¿">
¡¡¡¡<folder state="unchecked" isBra ......

WapµÄÒ»¸ö¾ÞÍ·ÌÛµÄÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌⶼ¸ÄºÃÁË£¬
¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ