易截截图软件、单文件、免安装、纯绿色、仅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 ......

asp.net导出EXCEL问题! - .NET技术 / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

ASP.NET关于强制转换问题 - .NET技术 / ASP.NET

3个radioButton
 一个Button
一个label
C# code:

protected void Button1_Click(object sender, EventArgs e)
{
string str = null;
RadioButton rdo=(RadioButton)sender;
......

哪个有asp.net域名查询程序 - .NET技术 / ASP.NET

发给我一份 280535258@qq.com 谢谢 要分可以说 多少都行

参考::!!!!
前台
<%@ Page language="c#" Codebehind="Domain.aspx.cs" AutoEventWireup="false" Inherits=&q ......

asp.net 2.0中使用树的问题 - .NET技术 / ASP.NET

使用的是框架自带的treeview
绑定显示,能够按照正确的形式显示出来
但一点击就会报错
程序集“System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”中的类型“System.Web.UI.WebCo ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号