随笔分类 - InfoPath Service
摘要:源代码下载地址: http://files.cnblogs.com/starcrm/SharePoint_XQuery_Reporting_Demo.rar 因为项目需要,需要研究这项技术,原因是当前公司有很多数据是保存在SharePoint中,通过Infopath采集数据,而InfoPath数据的
阅读全文
摘要:using Microsoft.Office.InfoPath;using System;using System.Xml;using System.Xml.XPath;namespace 模板2{ public partial class FormCode { // 启用浏览器功能的表单不支持成员变量。 // 请使用代码从 FormState 词典 // 写入和读取这些值,如下所示: // /...
阅读全文
摘要:using Microsoft.Office.InfoPath;using System;using System.Xml;using System.Xml.XPath;using System.Data;using System.Threading;namespace 模板1{ public partial class FormCode { // 启用浏览器功能的表单不支持成员变量。 // 请使...
阅读全文
摘要:谁能解决这个问题?谢谢了 //一级下拉框改变事件public void field1_Changed(object sender, XmlEventArgs e) { XPathNavigator me = (XPathNavigator)sender; if (me.Value == "") return; ...
阅读全文
摘要:using Microsoft.Office.InfoPath; using System; using System.Xml; using System.Xml.XPath; namespace copytable { public partial class FormCode { // 注意: 以下是 Microsoft Office InfoPath 所需的过...
阅读全文
摘要: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 Microsoft.Office.InfoPath; using System; using System.Xml; using System.Xml.XPath; using System.Windows.Forms; namespace 重复表 { public partial class FormCode { // 启用浏览器功能的表单不支持成员变...
阅读全文
摘要:我查阅SDK文档,发现有两种方法 第一种方法: XmlFormView.XmlForm.ViewInfos.SwitchView("FirstView"); 第二种方法: XmlFormView.XmlForm.ViewInfos.Initial = XmlFormVie...
阅读全文
摘要:Sharepoint系统崩溃恢复操作 备份 方式: l 使用SharePoint管理中心备份功能,测试过程中发现有时能备份成功,有时报错频繁,还以为是我的哪里配置出了问题,上网一搜,发现网上骂声已经一堆了,另外不支持定时自动备份,不知道微软为什么做这个鸡肋的工具。 l 使用Office SharePoint Designer 2007备份,不支持定时自动备份,也不考虑。 l 备份数据库 ...
阅读全文
摘要://设置域值 public static string NavSetValue(XPathNavigator xn, string strXPath,XmlNamespaceManager xnm,string strValue) { try { if (xn != null) { ...
阅读全文
摘要:最近在开发东莞国税网上办税报表系统,用到Infopath service作为表单服务器,后台数据存储采用Oracle,其中涉及了从数据库中取值写入Infopath 表单的需求,代码如下: /// /// 取本年累计 /// /// 表名 /// /// /// 业务期始 /// 纳税人号 /// public s...
阅读全文