摘要:
update 表名 set 需要修改的字段=REPLACE(CONVERT(varchar(8000),需要修改的字段),修改前的内容,修改后的内容) 修改的条件 阅读全文
摘要:
/// /// 清楚html里面额标签 /// /// /// public static string RemoveHTML(string Htmlstring) { //删除脚本... 阅读全文
摘要:
function fmoney(s, n) {--s 表示 需要转换的金额--n 表示 保留几位小数 n = n > 0 && n <= 20 ? n : 2; s = parseFloat((s + "").replace(/[^\d\.-]/g, "")).toFixed(n) ... 阅读全文
摘要:
public void CreateExcel(DataSet ds, string FileName) { HttpResponse resp; resp = Page.Response; resp.ContentEncoding = System.Text.Encoding.GetEncodi... 阅读全文
摘要:
//传入需要转换的金额(字符串)public static string MoneyToChinese(string strAmount) { string functionReturnValue = null; bool IsNegative = false; // 是否是负数 if (strA... 阅读全文
摘要:
DataTable dt = new DataTable();//全局//第一步:首先上传到服务器 string strFileNewName =DateTime.Now.ToString("yyyyMMddhhmmss") + ".xlsx"; FileUpload1.SaveAs(Server.... 阅读全文
摘要:
//页面布局 第一幅图片 第二幅图片 第三幅图片 第四幅图片 阅读全文