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

ASP.NET²¥·ÅÊÓƵÎļþ

///C#ÖеÄýÌå²¥·ÅÀà
using System;
namespace ConfigTools
{
/// <summary>
/// PlayClass µÄժҪ˵Ã÷¡£
///Ô­×÷CSDN,¾­±¾ÈËÉÔ¼ÓÐÞ¸Ä
/// </summary>
public class PlayClass
{
public PlayClass()
{
//
// TOD ÔÚ´Ë´¦Ìí¼Ó¹¹Ô캯ÊýÂß¼­
//
}
public string Play(string url,int width,int height)
{
string strTmp = url.ToLower();
if(strTmp.EndsWith(".wmv")||strTmp.EndsWith(".mp3")||strTmp.EndsWith(".wma")||strTmp.EndsWith(".avi")||strTmp.EndsWith(".asf")||strTmp.EndsWith(".mpg"))
{
return wmv(url,width, height);
}
else if(strTmp.EndsWith(".mp3"))
{
return mp3(url,width,height);
}
else if(strTmp.EndsWith(".swf"))
{
return swf(url,width, height);
}
else if(strTmp.EndsWith(".jpg")||strTmp.EndsWith(".gif"))
{
return img(url,width, height);
}
else if(strTmp.EndsWith(".rm"))
{
return rm(url,width, height);
}

else
{
return "Êý¾Ý´íÎó";
}
}


/// <summary>
/// wmv¸ñʽÎļþ²¥·Å
/// </summary>
/// <param name="url"></param>
/// <returns></returns>

private string wmv(string url, int width, int height)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();

sb.Append("<object id=\"WMPlay\" style="\" mce_style="\""WIDTH: "+width+"px;height:"+height+"px\" \n");
sb.Append("classid=\"CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6\" type=application/x-oleobject standby=\"Loading Windows Media Player c


Ïà¹ØÎĵµ£º

The default ASP.NET Trust level

 啟動£ºMicrosoft   .NET   Framework   2.0   Configuration-->Runtion   Security   Policy-->ÓÒ鍵-->Adjust   Security-->Make   changes   to     this &nbs ......

asp.net ½«Excelµ¼Èëµ½Sql2005»ò2000

asp.net ½«Excelµ¼Èëµ½Sql2005»ò2000µÄ˼·ºÍ²½Ö裺
1¡¢½«ExcelÎļþÉÏ´«µ½·þÎñÆ÷¶Ë
        Õâ¸öÎÒ²»ÏëÏêϸ½²ÁË,ÍøÉÏÒ»ËÑÒ»´ó°ÑµÄ.
        ×¢Ò⣺£¨1ÔÚÈ¡·þÎñÆ÷·¾¶Ê±Ò»¶¨ÒªÓÃthis.Page.MapPath(".")¶ø²»ÒªÓà this.Page.Request.Applic ......

Asp.Net´óÐÍÏîĿʵ¼ù ¹Ø¼ü¼¼Êõ·½°¸Ñ¡ÔñÀíÓɼ°Ë¼Â·

ËäÈ»ÎÒ²»Ï²»¶ÌÖÂÛÌ«¶àÀíÂÛ¸ÅÄîÉϵĶ«Î÷£¬µ«¸÷λ“ש¼Ò”»¹ÊÇÌá³öÁ˺ܶà·Ç³£ÓÐÕë¶ÔÐÔµÄÒâ¼û£¬Íû´ËÌû²»Òª³ÉΪ¿Úˮս²ÅºÃ....ÏÖ´ðÒÉÈçÏ£¨Óкܶà¸öÈËÀí½â£¬²»Ò»¶¨ÕýÈ·£©£º
ש¼ÒÒâ¼ûÇë²Î¼û£ºAsp.Net´óÐÍÏîĿʵ¼ùϵÁе¼º½
ΪʲôѡÔñNHibernate
ÀíÓÉ1£º¶ÔÏó¹ØϵӳÉä¼¼Êõ£¨ORM£©µÄ×îÖ÷ҪĿµÄÊÇΪÁ˽â¾ö¹ØϵÐÍÊý¾Ý¿âÓ ......

ASP.NETÍøÕ¾ÖеÄÌØÊâÎļþ¼Ð

ÓÃVS¿ª·¢ASP.NETÍøÕ¾³ÌÐòµÄʱºò,»á½«Àà»òWeb Services·ÅÔÚÌØÊâµÄÎļþ¼ÐÖÐ,·²ÊÇ·ÅÔÚÕâЩÌØÊâµÄÎļþ¼ÐÖÐ(App_Themes³ýÍâ)µÄ³ÌÐò»òÄÚÈÝÖ»ÔÊÐíÓ¦ÓóÌÐò·ÃÎÊ,¶ÔÓÚÍøÒ³µÄRequestÔò²»ÓèÏìÓ¦(ÎÞ·¨¶ÁÈ¡).
Îļþ¼Ð                  &nbs ......

asp.netѧϰ²½Öè


µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ¡£NETÃæÏò¶ÔÏóÓïÑÔ£¬C#»òVB.NET ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó£¨OO£©ÓïÑÔµÄÇ°ÌáÏÂȥѧASP.NET¡£ ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®OO£¬ÄǾø¶Ôѧ²»ÏÂÈ¥£¡
µÚ¶þ²½¡¡¶Ô¡£NET FrameworkÀà¿âÓÐÒ»¶¨µÄÁ˽⠿ÉÒÔͨ¹ý¿ª·¢Windows FormÓ¦ÓóÌÐòÀ´Ñ§Ï°¡£NET Framework¡£ASP.NETÊǽ¨¹¹ÔÚ¡£NET FrameworkÖ® ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ