2014年8月13日
摘要: public static void DownLoadFile(HttpRequest _Request, HttpResponse _Response, string fileName, string fullPath) { FileInfo fileInfo = new... 阅读全文
posted @ 2014-08-13 14:31 小景 阅读(164) 评论(0) 推荐(0) 编辑
摘要: #region 从服务器下载文件 /// /// 从服务器下载文件 /// /// /// /// 文件名称 /// 文件完整路径 /// 速度 /// public bool ResponseFile(HttpReque... 阅读全文
posted @ 2014-08-13 14:28 小景 阅读(661) 评论(0) 推荐(0) 编辑
摘要: public string GeFileName(string type) { //年4+月2+日2+时2+分2+秒2+毫秒3+8位随机数 string year = DateTime.Now.Year.ToString(); string month = DateTime.Now.Month.To... 阅读全文
posted @ 2014-08-13 14:25 小景 阅读(201) 评论(0) 推荐(0) 编辑
摘要: public decimal Change_StrToDecimal(string str) { str = str.Trim(); decimal value; str = Server.HtmlDecode(str); if (s... 阅读全文
posted @ 2014-08-13 14:24 小景 阅读(6244) 评论(0) 推荐(0) 编辑
摘要: dll见附件aspNetPager控件 public void GridViewBinding(int PageSize, string SqlSelect, string FilterString, string ID, int lower, string OrderBy, GridView g... 阅读全文
posted @ 2014-08-13 14:22 小景 阅读(212) 评论(0) 推荐(0) 编辑
摘要: public void DropDownListBinding(DropDownList DDList, string sql, string strText, string strField, string str_qxz) { DataTable dt = MDGL.DBU... 阅读全文
posted @ 2014-08-13 14:19 小景 阅读(127) 评论(0) 推荐(0) 编辑
摘要: public string CmycurD(decimal num) { string str1 = "零壹贰叁肆伍陆柒捌玖"; //0-9所对应的汉字 string str2 = "万仟佰拾亿仟佰拾万仟佰拾元角分"; //数字位所对应的汉字 ... 阅读全文
posted @ 2014-08-13 14:18 小景 阅读(446) 评论(0) 推荐(0) 编辑