摘要: /*** pDescription: (Alert)/p* p@version 1.0.0/p* pModifaction:(Date-Version-Author-Description)/p* p------------------------------------------------------------------------/p*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using Sys 阅读全文
posted @ 2011-01-26 14:01 TNTZWC 阅读(310) 评论(0) 推荐(0) 编辑
摘要: /*** pDescription: (RegexString)/p* 记录正则表示式的字符串* p@version 1.0.0/p* pModifaction:(Date-Version-Author-Description)/p* p------------------------------------------------------------------------/p*/using System;using System.Collections.Generic;using System.Linq;using System.Text;namespa 阅读全文
posted @ 2011-01-26 13:59 TNTZWC 阅读(1440) 评论(0) 推荐(0) 编辑
摘要: /*** pDescription: (RegexMatch)/p* 判断字符串是否满足特定条件* p@version 1.0.0/p* pModifaction:(Date-Version-Author-Description)/p* p------------------------------------------------------------------------/p*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using 阅读全文
posted @ 2011-01-26 13:59 TNTZWC 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2011-01-26 09:56 TNTZWC 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2011-01-26 09:55 TNTZWC 阅读(300) 评论(0) 推荐(0) 编辑
摘要: //此方法不可少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 阅读全文
posted @ 2011-01-25 11:55 TNTZWC 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2011-01-24 14:21 TNTZWC 阅读(819) 评论(0) 推荐(0) 编辑
摘要: 调用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 阅读全文
posted @ 2011-01-24 14:20 TNTZWC 阅读(5486) 评论(0) 推荐(0) 编辑
摘要: 故障现象:当你打开ASP.NET Web项目时,如果出现这样的错误提示:提示窗口标题: Web访问失败提示内容: 此项目的默认Web访问模式设置为文件共享, 但是无法从路径“...”打开“...”处的项目文件夹。返回的错误是: 无法打开Web项目“”。返回的错误是: 无法打开Web项目“...”。文件路径“...”怀URL“...”不符。这两者需要映射到相同的服务器位置。HTTP错误404: Not Found ......处理方法:到“C:\Documents and Settings\你的用户名\VSWebCache\计算机名\”中, 删除与该项目同名的文件夹。分析:当你新建ASP.NET 阅读全文
posted @ 2011-01-13 13:14 TNTZWC 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 使用“C39P24D1Tt”等字体生成的条形码,条码扫描枪不能直接扫描出来,分析后解决方法如下:使用“C39P24D1Tt” 等字体生成的条形码,需要在前后都加上“!”扫描枪才能读取到数据。 阅读全文
posted @ 2011-01-13 08:28 TNTZWC 阅读(346) 评论(1) 推荐(0) 编辑