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

ASP.NETʵÏÖÔÚÏß²¥·ÅFLVÊÓÆµ¼þµÄ´úÂë

ASP.NETʵÏÖÔÚÏß²¥·ÅFLVÊÓÆµ¼þµÄ´úÂë
 
ǰ̨µ÷ÓôúÂë
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1"
runat="server">
   
<title>ÊÓÆµ²¥·Å</title>
</head>
<body>
    <form
id="form1" runat="server">
    <div>
    <table>
      <tr>
        <td><div id="video_content"
runat="server" style=""></div>     </td>
     
</tr>
    </table>
    </div>
   
</form>
</body>
</html>
ºǫ́µ÷ÓôúÂë
protected void Page_Load(object sender, EventArgs e)
{
        this.video_content.InnerHtml =
PlayMedia.Play("http://hot.tudou.com/flv/005/680/205/5680205.flv",
472,385);
}
ÊÓÆµ²¥·ÅÀà:
using System;
using System.Collections.Generic;
using
System.Text;
namespace Common
{
    public class PlayMedia
   
{
        public PlayMedia()
        {
            //   
            //   TOD   ÔÚ´Ë´¦Ìí¼Ó¹¹Ô캯ÊýÂß¼­   
            //   
       
}
        public static string Play(string url, int width, int
height)
   &


Ïà¹ØÎĵµ£º

ASP.NET ºÍ IIS ÅäÖÃ×Ô¶¨ÒåÀ©Õ¹ÃûÍøÒ³

¿´¹ý΢ÈíµÄÍøÕ¾ÓÐʱºò£¬ÊÇ.MSPXµÄÀ©Õ¹Ãû£¿ÆäʵÄãÒ²¿ÉÒÔÅäÖ㬺ܼòµ¥¡£Here We Go!
ÅäÖÃWEB.CONFIG£º
<system.web>
    <compilation>
       <buildProviders>
          <add  ......

asp.net¶¨Ê±Ö´ÐдúÂë

string LogPath;
Thread thread;
void WriteLog()
{
while (true)
{
StreamWriter sw = new StreamWriter(LogPath, true, Encoding.UTF8);
sw.WriteLine(thread.Name + ":" + DateTime.Now.ToString());
sw.Close();
Thr ......

Asp.netÒ³Ãæ´«µÝ²ÎÊýµÄ¼¸ÖÖ·½·¨¶Ô±È½²½â

µÚÒ»ÖÖ·½·¨£º
ͨ¹ýURLÁ´½ÓµØÖ·´«µÝ
send.aspx:
   protected void Button1_Click(object sender, EventArgs e)
     {
         Request.Redirect("Default2.aspx?username=honge");
     }
receive.aspx:
string user ......

ÔÚASP.NETÖÐʹÓÃTreeview¿Ø¼þºÍXML


ÔÚASP.NETÖÐʹÓÃTreeview¿Ø¼þºÍXML
ÒÔǰ£¬ÔÚWEBÒ³ÃæÖÐÈç¹ûÏëʹÓÃÊ÷ÐοؼþµÄ»°£¬ÍùÍù»áÓÐЩÂé·³£¬ÓÐʱÉõÖÁÒª×Ô¼ºÐ´´úÂëÀ´´ïµ½ÓÃÊ÷ÐÎÁбíÏÔʾÊý¾ÝµÄÄ¿µÄ¡£ÔÚasp.netÖУ¬ÎÒÃÇ¿ÉÒԺܷ½±ãµØÊ¹ÓÃÓÉ΢ÈíÌṩµÄInternet Exploer Web Controls¿Ø¼þÀ´ÊµÏÖÊ÷ÐÎÁÐ±í¡£ÔÚ΢ÈíÌṩµÄÕâÌ×Internet Exploere Web Controls¿Ø¼þ¼¯ºÏÖУ¬°üÀ ......

ASP.NET 2.0ÍøÕ¾ÓÅ»¯¼¼ÇÉ×ܽá

1. µ±²»ÐèҪʹÓÃSessionµÄʱºòÇë¹Ø±Õ
        ¹Ø±ÕSessionµ±²»ÐèҪʹÓõÄʱºò
• ÈôÒª½ûÓÃÒ³µÄ»á»°×´Ì¬£¬Ç뽫@ Page Ö¸ÁîÖеÄEnableSessionState ÊôÐÔÉèÖÃΪfalse¡£ÀýÈ磬 <%@ Page EnableSessionState="false" %>¡£
• ×¢ÒâÈç¹ûÒ³ÐèÒª·ÃÎʻỰ±äÁ¿£¬µ«²»´òËã´´½¨»òÐÞ¸ÄËüÃÇ£¬Ôò½« ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ