摘要: DataTable table = new DataTable(); mdTable mdTable = new mdTable(); //根据model构建table table = DbBulkExtend.GetModelProperty(mdTable); //调用批量插入 DbBulkEx 阅读全文
posted @ 2020-08-28 10:59 tommy~hi 阅读(231) 评论(0) 推荐(0) 编辑
摘要: .ToString( "#,##0.00 ") 金额添加千分号,保留两位小数 阅读全文
posted @ 2020-08-28 10:58 tommy~hi 阅读(305) 评论(0) 推荐(0) 编辑
摘要: aspx: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript"> function a() { alert("ceshi"); 阅读全文
posted @ 2020-08-28 10:57 tommy~hi 阅读(270) 评论(0) 推荐(0) 编辑
摘要: function getNowFormatDate() { var date = new Date(); var seperator1 = "-"; var year = date.getFullYear(); var month = date.getMonth() + 1; var strDate 阅读全文
posted @ 2020-08-28 10:52 tommy~hi 阅读(539) 评论(0) 推荐(0) 编辑
摘要: $('a[data-toggle="tab"]').on( 'shown.bs.tab', function (e) { $( "#mytypes").datagrid('resize' ); }); 阅读全文
posted @ 2020-08-28 10:51 tommy~hi 阅读(145) 评论(0) 推荐(0) 编辑
摘要: function formatremark(val, row) { if (val != null ) { if (val.length > 33) { return val.substring(0, 33) + "......" } else { return val; } } } 阅读全文
posted @ 2020-08-28 10:50 tommy~hi 阅读(322) 评论(0) 推荐(0) 编辑