摘要:
1、熟悉:上传下载过程,汇总过程 阅读全文
posted @ 2013-01-09 11:08
daixinet.com
阅读(125)
评论(0)
推荐(0)
|
摘要:
多个事务同事操作数据库,报错:Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. 阅读全文
posted @ 2012-12-11 19:14
daixinet.com
阅读(700)
评论(0)
推荐(0)
摘要:
//合并Excel文件 private void MargeExcelFile(string destFile, string dirPath) { DirectoryInfo dir = new DirectoryInfo(dirPath); FileInfo[] files = dir.GetFiles("*.xlsx"); Microsoft.Office.Interop.Excel.Application app = app = new Microsoft.Office.Interop.Exc... 阅读全文
posted @ 2012-11-30 15:18
daixinet.com
阅读(361)
评论(0)
推荐(0)
摘要:
问题:1、导出数据的变量名称长度有限制 13版本的 8位2、变量为小写参考:http://blog.sina.com.cn/s/blog_67532f7c01012rw7.htmlhttp://spss.codeplex.com/ 阅读全文
posted @ 2012-11-15 11:04
daixinet.com
阅读(303)
评论(0)
推荐(0)
摘要:
参考:http://www.jb51.net/article/22437.htm1、在web.config里配制<globalization requestEncoding="gb2312" responseEncoding="gb2312" />2、做URL的时候进行编码,然后再解码编码:id = HttpUtility.UrlEncode(id, System.Text.Encoding.GetEncoding("GB2312"));解码:id = HttpUtility.UrlDecode(id, System.Te 阅读全文
posted @ 2012-11-09 13:13
daixinet.com
阅读(244)
评论(0)
推荐(0)
摘要:
参考:http://blog.csdn.net/ligenyingsr/article/details/6042287已经添加控件的div中添加标签,直接添加不行,必须得转换为string才可。//添加换行 System.Text.StringBuilder strb = new System.Text.StringBuilder(); System.IO.StringWriter sw = new System.IO.StringWriter(strb); System.Web.UI.HtmlTextW... 阅读全文
posted @ 2012-11-02 14:42
daixinet.com
阅读(745)
评论(0)
推荐(0)
摘要:
参考:http://code.msdn.microsoft.com/WPF-Autocomplete-Textbox-df2f1791#content问题:1、获得焦点时,不自动搜索2、按向下的箭头时,不自动到下拉项3、输入中文,挡住输入框针对这几个问题,做了控件的修改,1、获得焦点时,添加GotF... 阅读全文
posted @ 2012-10-25 14:15
daixinet.com
阅读(1615)
评论(1)
推荐(1)
摘要:
一直对asp.net编程比较抵触,多次接触都没怎么搞懂,今天派一任务,顿时头大了。做一个页面,根据参数展示图片protected void Page_Load(object sender, EventArgs e) { string id = Request.QueryString["id"]; if (string.IsNullOrEmpty(id) == false) { id = id.Replace('|', '\\'); } m_Image.ImageUrl = "\\\\127.0.... 阅读全文
posted @ 2012-10-11 20:28
daixinet.com
阅读(153)
评论(0)
推荐(0)
摘要:
一个朋友让我帮他处理一个Excel,对比两个Sheet中的字段,然后赋值。我学过VB,但是对Excel的VBA编程还是第一次,然而代码都是一样的。Sub GetMultNum() For i = 8 To 12 For j = 2 To 171 If Sheet14.Cells(i, 3) = Sheet2.Cells(j, 3) And Sheet14.Cells(i, 2) = Sheet2.Cells(j, 2) Then Sheet14.Cells(i, 6) = Sheet2.Cells(j, 4) ... 阅读全文
posted @ 2012-10-10 20:58
daixinet.com
阅读(204)
评论(0)
推荐(0)
|