博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2023年6月30日

摘要: var query = from a in _wfoReceiveFile.GetAll().Where(p=>p.CreateAccountId == loginId)join b in _wfInstance.GetAll() on a.Id equals b.EntityId into tem 阅读全文

posted @ 2023-06-30 18:35 yiyanxiyin 阅读(18) 评论(0) 推荐(0) 编辑

2019年9月23日

摘要: 先看一下excel文件, 下图左边部分为文件签审单为要打印的内容, 要求一页需要打印两个文件签审单, NO需要根据打印页面连续编号, 右边部分为打印设置,以及vba部分代码展示, 打印设置可以设置打印页数, 编号前缀,和编号位数, 以及起始编号 \ 根据上面的打印设置, 打印预览效果如下: 第一页: 阅读全文

posted @ 2019-09-23 15:25 yiyanxiyin 阅读(1137) 评论(0) 推荐(0) 编辑

2012年10月11日

摘要: using System;using System.Collections;using System.Configuration;using System.Data;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Data;using System.Linq;using System.Reflection;using System.Collections.Gen. 阅读全文

posted @ 2012-10-11 10:58 yiyanxiyin 阅读(753) 评论(0) 推荐(0) 编辑

2012年4月23日

摘要: 中断工作流并持久化到数据库中【源码】 阅读全文

posted @ 2012-04-23 16:09 yiyanxiyin 阅读(263) 评论(0) 推荐(0) 编辑

2012年2月28日

摘要: using System;using System.Collections.Generic;using System.Text;using Microsoft.Office.Interop.Word;using System.Reflection;using System.Data.SqlClien 阅读全文

posted @ 2012-02-28 17:34 yiyanxiyin 阅读(911) 评论(4) 推荐(0) 编辑

2008年6月26日

摘要: 下面是一个控制台的例子,在.net remoting,wcf等分布式程序的中间层也可以这样使用:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web.Caching;using System.Web;namespace ConsoleApplication... 阅读全文

posted @ 2008-06-26 14:35 yiyanxiyin 阅读(250) 评论(0) 推荐(0) 编辑

2008年5月7日

摘要: <style>.tb{}{BORDER-COLLAPSE:collapse;display:inline;}.tbtd{}{WHITE-SPACE:nowrap;BORDER:red1pxsolid;}.tbth{}{white-space:nowrap;BORDER:red1pxsolid;POSITION:relative;}.tb.head{}{POSITION:relative... 阅读全文

posted @ 2008-05-07 10:08 yiyanxiyin 阅读(716) 评论(0) 推荐(0) 编辑

2008年1月4日

摘要: 只能通过div来控制,td没这个功能:<tableborder=1width=100><tr><td><divnowrapstyle="width:100;overflow:hidden;">veryloooooooooooooooooooooooooooooooongsentence</div></td></tr>... 阅读全文

posted @ 2008-01-04 15:00 yiyanxiyin 阅读(1277) 评论(0) 推荐(0) 编辑

2007年12月22日

摘要: 这里说的异步是指请求应答(Request/Reply)中的异步,采用baseHttpBinding或者wsHttpBinding,通过OperationContractAttribute的AsyncPattern=true来实现 双向(Duplex)指的是采用WSDualHttpBinding或NetTcpBinding等支持客户端回掉的方式,上面的异步中也有一个回调,但那仅仅是服务器端的回调,客户端仅仅是去访问服务器端的回调方法从而取得结果,而双向中的回调是服务器端去调用客户端的方法,这时客户端变成了服务器,而服务端变成了客户 阅读全文

posted @ 2007-12-22 14:47 yiyanxiyin 阅读(596) 评论(1) 推荐(0) 编辑

2007年12月5日

摘要: MessageQueue objQue = new MessageQueue(@".\private$\test"); objQue.DefaultPropertiesToSend.Recoverable = true; objQue.Send("recoverable message"); 阅读全文

posted @ 2007-12-05 16:45 yiyanxiyin 阅读(341) 评论(0) 推荐(0) 编辑