易截截图软件、单文件、免安装、纯绿色、仅160KB

FLASH播放问题 - .NET技术 / ASP.NET

本人写了一个类,实现播放FLASH功能
public class Play
{
public Play()
{
//
//TODO: 在此处添加构造函数逻辑
//
}


  public string PlaySwf(string url,int width,int height)
  {
  string strTmp = url.ToLower();

  if (strTmp.EndsWith(".swf"))
  {
  return swf(url, width, height);
  }
  else if (strTmp.EndsWith(".flv"))
  {
  return flv(url, width, height);
  }

  else
  {
  return "FLASH格式错误!";
  }
  }





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

   
  sb.Append("<OBJECT codeBase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" ");
   
  sb.Append(" height=\""+height+"\" width=\""+width+"\" >");  
  sb.Append("<PARAM NAME=\"FlashVars\" VALUE=\"\">");  
  sb.Append("<PARAM


相关问答:

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 ......

winform编程与ASP.NET有连系吗 - .NET技术 / C#

其实这个问题可以找老师回答,这不放假了吗,问问各位高手。
绝对有 ,ASP、net里有好多的逻辑判断等都需要winform基础

C#语言 
Ado.net C/S结构
Asp.net B/S结构

俩都是微软出的,都能用C#进行开发 ......

asp.net如何重启网站? - .NET技术 / ASP.NET

我用的是Godaddy的服务,使用
C# code:
HttpRuntime.UnloadAppDomain();
来重启程序会抛出异常,应该是权限不够,请教大家还有没有其他的办法?
using System.ServiceProcess;
  public void ResetAsp ......

ASP。net中怎么调用Com+组建 - .NET技术 / ASP.NET

C# code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Runtime.InteropServices;
nam ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号