03 2015 档案

摘要:xxxxxxxx.Sum(f => f.jifen).GetValueOrDefault(0) 阅读全文
posted @ 2015-03-29 16:06 王鹏飛 阅读(713) 评论(1) 推荐(0)
摘要:public static string GetProfileImage(int userId, int width, int height) { return "~/profilepic.ashx?userid=" + userId.ToString() + "&w=" + width.ToS... 阅读全文
posted @ 2015-03-28 09:48 王鹏飛 阅读(155) 评论(0) 推荐(0)
摘要:if(!IsPostBack) { fuPhoto.Attributes.Add("onchange", "javascript:__doPostBack('" + lbUploadPhoto.ClientID.Replace("_","$") + "','')"); } 阅读全文
posted @ 2015-03-27 19:45 王鹏飛 阅读(180) 评论(0) 推荐(0)
摘要:public string fileUpload() { if (fuPhoto.PostedFile != null && fuPhoto.PostedFile.ContentLength > 0) { int _ModuleID = (this.Parent.TemplateContro... 阅读全文
posted @ 2015-03-27 19:44 王鹏飛 阅读(279) 评论(0) 推荐(0)
摘要://取图片 MatchCollection matchs = Regex.Matches(AskText,@" ]*src=([""']*)(?[^'""]*)\1[^>]*>", RegexOptions.IgnoreCase); List PicArray=new List(); foreach... 阅读全文
posted @ 2015-03-20 16:19 王鹏飛 阅读(152) 评论(0) 推荐(0)