10 2008 档案
摘要:Sharepoint系统崩溃恢复操作 备份 方式: l 使用SharePoint管理中心备份功能,测试过程中发现有时能备份成功,有时报错频繁,还以为是我的哪里配置出了问题,上网一搜,发现网上骂声已经一堆了,另外不支持定时自动备份,不知道微软为什么做这个鸡肋的工具。 l 使用Office SharePoint Designer 2007备份,不支持定时自动备份,也不考虑。 l 备份数据库 ...
阅读全文
摘要:public void GreateMiniImage(string oldpath, string newpath, int tWidth, int tHeight) { try { System.Drawing.Image image = System.Drawing.Image.FromFile(...
阅读全文
摘要:using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System...
阅读全文
摘要:http://www.cnblogs.com/1-2-3/archive/2007/09/01/878246.html
阅读全文
摘要:using System; using System.Data; using System.Web; using System.Collections; using System.Web.Services; using System.Web.Services.Protocols; using System.Web.SessionState; using System.Drawing; using ...
阅读全文
摘要:首先编写handle处理文件:using System;using System.Data;using System.Web;using System.Collections;using System.Web.Services;using System.Web.Services.Protocols;...
阅读全文
摘要:内网中转.conf SSLRandomSeed startup builtin SSLRandomSeed connect builtin ProxyPreserveHost On ProxyRequests Off ProxyPass /form http://10.145.1XX.2XX/form ProxyPass /admin http://10.145.1XX.2XX/admin...
阅读全文
摘要:先编写bat文件: exp db_user/db_pwd@SourceDatabase owner=db_user file=d:\rec\bk_data.dmp sqlplus db_user/db_pwd@localDatabase @del.sql imp db_user/db_pwd@localDatabase fromuser=db_user touser=db_user file=...
阅读全文
摘要:SQL Server Configuration Manager 中, 网络配置中, 协议中,tcp/ip属性中, 保持活动状态 --> 30000 全部侦听 --> 否 无延迟 --> 否 已启用 --> 是 IP地址中, IP地址 --> 你的IP TCP动态端口 --> 不填 TCP端口 --> 1433 活动 --> 是 已启...
阅读全文
摘要:using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.W...
阅读全文
摘要:using System.Text; using System.IO; string mbPath =Server.MapPath("template.htm"); Encoding code = Encoding.GetEncoding("gb2312"); StreamReader sr = null; ...
阅读全文
摘要:public class ListEvenClass : SPListEventReceiver { public override void FieldAdded(SPListEventProperties properties) { LogEvent(properties, "添加"); } pub...
阅读全文
摘要:using System.Diagnostics; if (!EventLog.SourceExists("EventLogDemoApp")) { EventSourceCreationData eventSourceData = new EventSourceCreationData("...
阅读全文
摘要:protected void Page_Load(object sender, EventArgs e) { Literal1.Text = ""; for (int i = 0; i " + GetGroups()[i] + ""; } Literal1.Text += ""; ...
阅读全文
摘要:jQuery基础笔记第一步: 例子一:分别有3种写法,作用都是一样的$("div")$(".b")$("#a")例子二: 测试 点这里 代码:效果:只有点的范围才触发事件,也可以这么写:$("div > p ")或者$("div p ")例子三:John ResigGeorge Marti...
阅读全文
摘要:DataTable行列转换的函数,找遍了网上都没找到,还是自己写了,这个函数在ContrastTable函数将被调用,ContrastTable用于实现在视图中对比数据,类似于pcoline的产品比较功能。是DataTable版的,DataSet版的就不贴了。 public DataTable cgDataTable(DataTable oldTable) { try ...
阅读全文
摘要:create procedure sp_tableCount @newTable varchar(50),--new create table name @isSet int --whether return new table recordset,non 0--return as declare @TableName nvarchar(100); declare @sql...
阅读全文
摘要:最近在开发东莞国税网上办税报表系统,用到SharePoint2007+Infopath Service作为表单服务器,后台数据存储采用Oracle,其中涉及了管理模板的需求,要对SharePoint对象模型进行操作,研究了2天sharepoint sdk,代码完成如下: using System;using System.Data;using System.Configuration;us...
阅读全文
摘要://设置域值 public static string NavSetValue(XPathNavigator xn, string strXPath,XmlNamespaceManager xnm,string strValue) { try { if (xn != null) { ...
阅读全文
摘要:最近在开发东莞国税网上办税报表系统,用到Infopath service作为表单服务器,后台数据存储采用Oracle,其中涉及了从数据库中取值写入Infopath 表单的需求,代码如下: /// /// 取本年累计 /// /// 表名 /// /// /// 业务期始 /// 纳税人号 /// public s...
阅读全文
摘要:import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.SwingUtilities; import java.awt.*; import java.awt.event.*; import ja...
阅读全文