摘要: Silverlight网站“运行后一片空白”的解决方案: 在Silverlight中需要使用xap、XAML文件类型,如果您想在IIS服务器上使用Silverlight程序,所以必须在IIS中注册xaml和xap的MIME文件类型。打开IIS->站点属性->HTTP头->MIME类型->新建: 扩展名: .xap MIME类型:xapapplication/x-silverlight ... 阅读全文
posted @ 2008-12-02 14:39 昕友软件开发 阅读(1791) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Web; using System.Diagnostics; namespace HDI { public class HTTPFilter : IHttpModule { System.IO.StreamWriter fileWriter; HttpApplication applicationContext; ... 阅读全文
posted @ 2008-12-01 15:05 昕友软件开发 阅读(691) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts... 阅读全文
posted @ 2008-12-01 10:12 昕友软件开发 阅读(329) 评论(0) 推荐(0) 编辑
摘要: import java.io.*; public class IOTest { public static void main(String[] args){ IOTest io = new IOTest(); try{ long startTime = System.currentTimeMillis(); ... 阅读全文
posted @ 2008-11-20 17:25 昕友软件开发 阅读(214) 评论(0) 推荐(0) 编辑
摘要: // $Id: wc.java,v 1.2 2001/05/31 22:56:19 doug Exp $ // http://www.bagley.org/~doug/shootout/ // with help from Dirus@programmer.net import java.io.*; import java.util.*; import java.text.*; // this... 阅读全文
posted @ 2008-11-20 14:45 昕友软件开发 阅读(339) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Web.Services.Description; using System.CodeDom; using Microsoft.CSharp; using System.... 阅读全文
posted @ 2008-11-10 15:31 昕友软件开发 阅读(310) 评论(0) 推荐(0) 编辑
摘要: SELECT * FROM ( SELECT * ,RANK() OVER(ORDER BY who_answ) c2 FROM Ft_Question ) b WHERE b.c2 IN ( SELECT a.c1 FROM ... 阅读全文
posted @ 2008-11-04 14:53 昕友软件开发 阅读(277) 评论(0) 推荐(0) 编辑
摘要: SELECT ROW_NUMBER() OVER (ORDER BY id DESC) AS rownum, * FROM ft_question ORDER BY id DESC 阅读全文
posted @ 2008-11-04 14:53 昕友软件开发 阅读(476) 评论(0) 推荐(0) 编辑
摘要: Sharepoint系统崩溃恢复操作 备份 方式: l 使用SharePoint管理中心备份功能,测试过程中发现有时能备份成功,有时报错频繁,还以为是我的哪里配置出了问题,上网一搜,发现网上骂声已经一堆了,另外不支持定时自动备份,不知道微软为什么做这个鸡肋的工具。 l 使用Office SharePoint Designer 2007备份,不支持定时自动备份,也不考虑。 l 备份数据库 ... 阅读全文
posted @ 2008-10-24 18:05 昕友软件开发 阅读(1029) 评论(0) 推荐(0) 编辑
摘要: public void GreateMiniImage(string oldpath, string newpath, int tWidth, int tHeight) { try { System.Drawing.Image image = System.Drawing.Image.FromFile(... 阅读全文
posted @ 2008-10-22 11:39 昕友软件开发 阅读(206) 评论(0) 推荐(0) 编辑
欢迎访问我的开源项目:xyIM企业即时通讯