1.ç¨flashå¶ä½ç®åçç
§çç½ç«
2.ç¨ASP.NETå建ç½ç»ç¸åä¿åç¾ä¸½è®°å¿
3."星锋数码"是摄影摄影个人博客全站源码一家利用购买摄影器材进行诈骗的网站,有人上过当吗?
ç¨flashå¶ä½ç®åçç §çç½ç«
讲ä¸æ¸ ï¼æäºå¤æãä¸è¬å为两ç§ï¼ä¸ç§æ¯å¨æçï¼ä¹å°±æ¯é åXMLï¼ASPçç½é¡µè¯è¨åæ°æ®åºè¿è¡å¶ä½çï¼è¿æä¸ç§æ¯éæçï¼ä¹å°±æ¯æææçå¾çæ¾å¨flashæ件éï¼è¿ä¸ªåèµ·æ¥æ¹é¢ä¸äºãå¦æä½ ä¹æ³åçè¯ï¼æå¯ä»¥ä»ç»ä½ å ä¸ªå·¥å ·ï¼1ãflashç¸åå·¥å ·ï¼ä½ å¯ä»¥å¨ç½ä¸æ¾ä¸ä¸ï¼å¾å¤ã2ãçµåæå¿ï¼æå¾å¤ï¼å¶ä½ç¸å½æ¹ä¾¿ï¼èä¸ææè¶ å¥½ã
ç¨ASP.NETå建ç½ç»ç¸åä¿åç¾ä¸½è®°å¿
ããå¨æ们çæ¥å¸¸çæ´»ä¸æ°ç ç §å设å¤å·²ç»å¾æ®éäº æ们ä¼ç»å¸¸ææä¸äºç¸ç以ä¾ç念 èéçæ°ç ç §ççå¢å¤ å¾å¾éè¦å¾å¥½å°ç®¡çè¿äºç §ç 以便æ´å¥½å°æ¥é ç念 ç°å¨ç½ä¸æä¸å°ççµåç¸å é½è½å¾å¥½çå®ç°è¿äºåè½ é£æ们è½å¦èªå·±å¨æå建èªå·±çç¸åå¢ï¼å½ç¶å¯ä»¥ å¨è¿ç¯æç« ä¸ æ们å°å©ç¨asp net æ¥å建ä¸ä¸ªç®åçå¨çº¿ç¸å 以æ¶èæ们çç §çããé¦å æ¥çä¸ è¿ä¸ªç¸åæåªäºåè½ å¨è¿ä¸ªç¸åä¸ æä»¬å¿ é¡»å æé¢å æ影好çç §çæ¾å°ä¸ä¸ªç®å½ä¸å» ä¹å å¯ä»¥ä¾å¨ç½ä¸ä½¿ç¨ ä¸ä¸å¼ ä¸ä¸å¼ çé¾æ¥ä¸å¼ å¼ å°æ¥ç
ããä¸é¢å ä»ç»å¦ä½è·å¾æ件夹ä¸çå¾ç æ们å¯ä»¥ä½¿ç¨System IOå½å空é´ä¸çDirectoryInfoç±»æ¥å®ç° å°æ件夹æå¨çè·¯å¾å为åæ°ä¼ éå°è¯¥ç±»çæé å½æ°ä¸ 并声æä¸ä¸ªDirectoryInfoç±»çå®ä¾ DirectoryInfoç±»ä¸æä¸ä¸ªGetFiles()çæ¹æ³ ä¼è¿åFileInfoç对象æ°ç» èæ¯ä¸ä¸ªFileInfoçå®ä¾å°å å«æå®è·¯å¾ä¸æ件çå ·ä½ä¿¡æ¯ ä¸é¢ç代ç ç段说æäºè¯¥è¿ç¨
ãã以ä¸ä¸ºå¼ç¨çå 容 Sub Page_Load(sender as Object e as EventArgs)ã Get list of imagesãDim dirInfo as New DirectoryInfo(Server MapPath( ))ãDim images() as FileInfo = FilterForImages(dirInfo GetFiles())ã End Subããå ¶ä¸ ç¨Server mappathè·å¾å½åç®å½çè·¯å¾ èdirinfo getfiles()å°ä¼è¿å该ç®å½ä¸çæææ件 èç±äºæ们çæ¯ç¸å åªéè¦çå°æ¯å¦JPG BMP GIFçå¾è±¡æ件 æ以æ们å¯ä»¥éè¿ç¨åºå®ç° åªè£ è½½è¿äºç±»åçæ件 è¿éè¿ä¸ä¸ªèªå®ä¹çè¿ç¨FilterForImagesæ¥å®ç° 该è¿ç¨å°åªè¿åæå®æ件夹ä¸å¾è±¡ç±»åçæ件 代ç å¦ä¸
以ä¸ä¸ºå¼ç¨çå 容 Function FilterForImages(images() as FileInfo) as FileInfo()ãDim newImages as New ArrayList(images Length)
ãDim i as IntegerãFor i = to images Length ããIf Path GetExtension(images(i) Name) = jpg OrElse _ãããPath GetExtension(images(i) Name) = jpeg OrElse _ ãããPath GetExtension(images(i) Name) = png OrElse _ ãããPath GetExtension(images(i) Name) = gif thenããããnewImages Add(images(i))ããEnd IfãNext
ãReturn CType(newImages ToArray(GetType(FileInfo)) FileInfo())End Function
ãã该è¿ç¨å¯¹äºä¼ éè¿æ¥çFileInfoåæ°æ°ç»è¿è¡éå 对æ件夹ä¸çæ件çåç¼åè¿è¡åæ å¦æå±äºå¾è±¡æ件 åæ·»å å°newimagesæ°ç»ä¸å» 并以arraylistå½¢å¼è¿å
ããæ¥ä¸æ¥ æ们çä¸å¦ä½æ¾ç¤ºæ¯ä¸å¼ å¾ç 并以 ä¸ä¸å¼ ä¸ä¸å¼ æ¥æ¾ç¤º 为äºç¥éå½åæµè§çæ¯ç¬¬å å¼ å¾ç å¯ä»¥éè¿ä½¿ç¨ä¼ éåæ°çæ¹æ³æ¥å®ç° å å¾çªä½ä¸æ·»å ä¸ä¸ªimageæ§ä»¶åææ¬æ¡ ç¨åºä»£ç å¦ä¸
以ä¸ä¸ºå¼ç¨çå 容 Sub Page_Load(sender as Object e as EventArgs)ã
ã Dim imgIndex as Integer = ãIf Not Request QueryString( N ) is Nothing AndAlso _ããIsNumeric(Request QueryString( N )) thenãããimgIndex = CInt(Request QueryString( N ))ãEnd IfããcurrentImgTitle Text = You are Viewing: & _ããPath GetFileNameWithoutExtension(images(imgIndex) Name) & _ãã ( & imgIndex + & of & images Length & ) ãããcurrentImg ImageUrl = Path GetFileName(images(imgIndex) Name)ããã End Sub
ããHTMLé¨å代ç
以ä¸ä¸ºå¼ç¨çå 容 <asp:Label runat= server id= currentImgTitle /><br /><asp:Image runat= server id= currentImg /> lishixinzhi/Article/program/net//"星锋数码"是一家利用购买摄影器材进行诈骗的网站,有人上过当吗?
扯淡的话 走私货连专卖相机的地方都有卖的````
怎么可能不能送货````很多地方卖的都是水货 行货2种 价格相差点而已`````
D 套机 绝对骗人的