摘要:
前台:上传图片后台: protected void Upfile_Click(object sender, EventArgs e) { HttpPostedFile hpf = oFile.PostedFile; if (hpf.ContentLength > 3 * 1024 * 1024) {... 阅读全文
摘要:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Product_temp]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [dbo].[Pro... 阅读全文
摘要:
开始 结束 datePicker.gifdatepicker.js下载地址:http://download.csdn.net/detail/dasihg/3606749转载请注明出处:http://blog.csdn.net/dasihg/article/details/6781457 阅读全文
摘要:
/// /// 获取制定字符串的前L位字符,注:半角字符只算半个字符 /// /// 制定的字符串 /// 长度 /// 超出长度时追加的字符 /// public static string SubGBString(string s, int l, string adddot) { str... 阅读全文
摘要:
前台: 查找结果:共个 总页数: )">前一页 )">后一页当前页: " size="4" /> 上线时间 '> 章节数 '> 查找结果:共个 总页数: )">前一页 )"> 后一页当前页: " size="4" /> 后台: priva... 阅读全文
摘要:
1、方法: public static void ItemListBind(CheckBoxList CBTarget) where T : struct, IConvertible { if (!typeof(T).IsEnum) throw new ArgumentException("T mu... 阅读全文
摘要:
/// /// 把ListControl(BulletedList、CheckBoxList、DropDownList、ListBox、RadioButtonList)指定值的行进行选择 /// /// 要操作的目标 /// 值 public static void S... 阅读全文
摘要:
PDFWrapper pdfWrapper = new PDFWrapper()pdfWrapper.LoadPDF(pdfFileName);pdfWrapper.ExportJpg(imgFileName, 1, 1, 20, 100);//这里可以设置输出图片的页数、大小和图片质量int pd... 阅读全文