ASP.net , C#, and VB.net , and Java, and SQL

coding and testing

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

2011年11月15日 #

摘要: 我们看看这里有很多块, 有台头标题的处理和 逐行添加的处理, 再者就是求和的处理。多运行一下这些代码1. 台头标题的处理, 看这里就有多表头的处理, 本人就对3行表头和2行表头的1行表头提供了支持。View Code 1DimHeadRowAsNPOI.SS.UserModel.Row2DimHeadCellAsCell=Nothing3DimclAsInteger=p_dt.Columns.Count4p_HeaderRow=If(p_HeaderRow<=0OrElsep_HeaderRow>3,1,p_HeaderRow)5ForlAsInteger=1Top_HeaderR 阅读全文
posted @ 2011-11-15 10:41 mr liao 阅读(1751) 评论(0) 推荐(0) 编辑

摘要: View Code 1publicstaticReaderWriterLockm_boolLogLock=newReaderWriterLock();2try3{4if(m_boolLogLock!=null)5{6m_boolLogLock.AcquireWriterLock(System.Threading.Timeout.Infinite);7}8}9catch10{11}12finally13{14if(m_boolLogLock!=null)15{16m_boolLogLock.ReleaseWriterLock();17}18}19returntrue; 阅读全文
posted @ 2011-11-15 10:25 mr liao 阅读(267) 评论(0) 推荐(0) 编辑

摘要: 贴一个测试过的东西出来, 测试环境jQuery1.4.1View Code 1$(document).ready(function(){2$("#btnAddN").click(function(){3$("#DictNdata").append($("<option>",{value:$("#Option1").val()+"|"+$("#Option2").val(),text:$("#Option1").val()+"|&quo 阅读全文
posted @ 2011-11-15 10:20 mr liao 阅读(526) 评论(0) 推荐(0) 编辑