- 博客(5)
- 资源 (16)
- 收藏
- 关注
原创 网页中实现截取等宽长度中英文字符串
/// /// 截取指定长度中英文字符串(宽度一样)/// /// 要截取的字符串/// 截取长度,中文字符长度/// 截取后的字符串public static string CutStr(string str, int length){ if (str == null) return string.Empty; int len
2012-06-20 17:13:24 966
转载 AspNet中URL重写
打开Global.asax文件,引用命名空间System.Web.Routing,System.Web.Routing命名空间在Net3.5中就已经存在,不过功能没有4.0中的强大。在该文件中添加如下方法:void RegisterRoutes(RouteCollection routes){ routes.MapPageRoute("productdetail",
2012-06-20 09:14:14 760
原创 重绘groupbox 边框 title
private void group_Filter_Paint(object sender, PaintEventArgs e) { e.Graphics.Clear(group_Filter.BackColor); Color color = Color.Red; Pen Pen_AL = new P
2012-06-19 12:31:10 1962
翻译 c# 第三方解压sharpziplib
using System;using System.Collections.Generic;using System.Linq;using System.Text;using ICSharpCode.SharpZipLib.Zip; //开源工具using System.IO; namespace Package{ class Class1 {
2012-06-19 09:08:09 855
原创 C#判断是否为图片
private bool IsPicture(string filePath)//filePath是文件的完整路径 { try { FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
2012-06-18 11:20:03 5239
读取word模板修改内容并生成pdf下载(多文件zip压缩下载).zip
2020-09-11
WebAPIFileUploadDemo通过multipart/form-data方式同时上传文件以及数据包含客户端上传例子
2019-07-23
NET网页在线批量看文件txt、jpg、word、cs、excel、ppt 预览相框模式JS
2019-06-12
C# NET Apose.Slides.dll PowerPoint(ppt)转PDF附教程.rar
2019-05-24
C#NET Aspose.Cells.dll Excel转PDF附教程.rar
2019-05-24
C#NET Aspose.Words.dll(破解)转换word到PDF
2019-05-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人