05 2020 档案
摘要:1 public class ModelConvertHelper<T> where T : new() // 此处一定要加上new() 2 { 3 4 public static IList<T> ConvertToModel(DataTable dt) 5 { 6 7 IList<T> ts =
阅读全文
摘要:CREATE PROCEDURE [dbo].[M_CreateInventoryCk] AS DECLARE @tran_error INT;--记录错误数量 DECLARE @cursor CURSOR --游标 BEGIN SET @cursor=cursor for select Logis
阅读全文
摘要:事件冒泡: 例如这样一个结构 :<li><a></a></li>, 假如你在a标签上绑定了一个点击click事件,如:("li").click(function(){alert("li
阅读全文
摘要:直接借助数据库引擎读取。Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties='Text;HDR=NO';Data Source=yourfile.csv
阅读全文
摘要:测试表中有六百五十八万九千多条数据 ID:主键 UUID:非聚集索引 数据量: 1. select COUNT(*) from [Chapter] 2. select COUNT(ID) from [Chapter] 3. select COUNT(UUID) from [Chapter] 4. s
阅读全文
摘要:declare @error int set @error=0 declare @temp varchar(50) -- 保存游标查询出的字段 --定义游标 declare cursor_1 cursor for (select 字段 from 表名) --打开游标-- open cursor_1
阅读全文