01 2011 档案
摘要: /*** <p>Description: (IniFile)</p>* <p>@version 1.0.0</p>* <p>Modifaction:(Date-Version-Author-Description)</p>* <p>------------------------------------------------------------------------</p>*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.Int阅读全文
摘要: /*** <p>Description: (Alert)</p>* <p>@version 1.0.0</p>* <p>Modifaction:(Date-Version-Author-Description)</p>* <p>------------------------------------------------------------------------</p>*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using Sys阅读全文
摘要: /*** <p>Description: (RegexString)</p>* 记录正则表示式的字符串* <p>@version 1.0.0</p>* <p>Modifaction:(Date-Version-Author-Description)</p>* <p>------------------------------------------------------------------------</p>*/using System;using System.Collections.Generic;using System.Linq;using System.Text;namespa阅读全文
摘要: /*** <p>Description: (RegexMatch)</p>* 判断字符串是否满足特定条件* <p>@version 1.0.0</p>* <p>Modifaction:(Date-Version-Author-Description)</p>* <p>------------------------------------------------------------------------</p>*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using 阅读全文
摘要: private void OpenForEditSheet(string strFilePath, string strSheetName) { Microsoft.Office.Interop.Excel.ApplicationClass xlApp = new ApplicationClass(); Microsoft.Office.Interop.Excel.Workbooks xlWorkbooks; Microsoft.Office.Interop.Excel.Workbook xlWorkbook; Microsoft.Office.Interop.Excel.Worksheet 阅读全文
摘要: private void OpenForEditSheet(string strFilePath, string strSheetName) { Microsoft.Office.Interop.Excel.ApplicationClass xlApp = new ApplicationClass(); Microsoft.Office.Interop.Excel.Workbooks xlWorkbooks; Microsoft.Office.Interop.Excel.Workbook xlWorkbook; Microsoft.Office.Interop.Excel.Worksheet 阅读全文
摘要: //此方法不可少public override void VerifyRenderingInServerForm(Control control) { //base.VerifyRenderingInServerForm(control); } protected void btnExpExcel_Click(object sender, EventArgs e) { this.Response.Clear(); this.Response.AppendHeader("Content-Disposition", "attachment; filename=" + DateTime.Now.To阅读全文
摘要: private void UpdateSheet(string strFilePath, string strSheetName) { Microsoft.Office.Interop.Excel.ApplicationClass xlApp = new ApplicationClass(); Microsoft.Office.Interop.Excel.Workbooks xlWorkbooks; Microsoft.Office.Interop.Excel.Workbook xlWorkbook; Microsoft.Office.Interop.Excel.Worksheet xlWor阅读全文
摘要: 调用Excel的打印预览页面public void ExcelPrint(string strFilePath, string strSheetName) { Microsoft.Office.Interop.Excel.ApplicationClass xlApp = new ApplicationClass(); Microsoft.Office.Interop.Excel.Workbooks xlWorkbooks; Microsoft.Office.Interop.Excel.Workbook xlWorkbook; Microsoft.Office.Interop.Excel.Wor阅读全文
摘要: 故障现象:当你打开ASP.NET Web项目时,如果出现这样的错误提示:提示窗口标题: Web访问失败提示内容: 此项目的默认Web访问模式设置为文件共享, 但是无法从路径“...”打开“...”处的项目文件夹。返回的错误是: 无法打开Web项目“”。返回的错误是: 无法打开Web项目“...”。文件路径“...”怀URL“...”不符。这两者需要映射到相同的服务器位置。HTTP错误404: Not Found ......处理方法:到“C:\Documents and Settings\你的用户名\VSWebCache\计算机名\”中, 删除与该项目同名的文件夹。分析:当你新建ASP.NET阅读全文
摘要: 使用“C39P24D1Tt”等字体生成的条形码,条码扫描枪不能直接扫描出来,分析后解决方法如下:使用“C39P24D1Tt” 等字体生成的条形码,需要在前后都加上“!”扫描枪才能读取到数据。阅读全文