Loading

随笔分类 -  Asp.Net

摘要:/// /// 实体转换辅助类 /// public class ModelConvertHelper where T : new() { public static IList ConvertToModel(DataTable dt) { // 定义集合 IList ts = new List(); // 获得此模型的类型 Type type = type... 阅读全文
posted @ 2013-09-02 19:01 jesn 阅读(219) 评论(0) 推荐(0)
摘要://获取image src路径$(".userImg").click(function(){varimgsrc = $(this).attr("src");alert(imgsrc);});//获取Id $("this")里面的 双引号“” 去掉$(".userImg").click(function(){varimageId= $(this).attr("id");alert(imageId);}); 阅读全文
posted @ 2013-07-09 10:53 jesn 阅读(166) 评论(0) 推荐(0)