随笔分类 - Asp.Net
摘要:/// /// 实体转换辅助类 /// public class ModelConvertHelper where T : new() { public static IList ConvertToModel(DataTable dt) { // 定义集合 IList ts = new List(); // 获得此模型的类型 Type type = type...
阅读全文
摘要://获取image src路径(".userImg").click(function(){varimgsrc = $(this).attr("src");alert(imgsrc);});//获取Id ("this")里面的 双引号“” 去掉$(".userImg").click(function(){varimageId= $(this).attr("id");alert(imageId);});
阅读全文