摘要: //inner joinvar query = from a in data.A join b in data.B on a.bid equals b.id select new { id=a.id,name = b.name };//left joinvar query = fro... 阅读全文
posted @ 2015-04-17 20:46 YyuTtian 阅读(303) 评论(0) 推荐(0) 编辑
摘要: public bool IsInsert(string userName, string password, string remark, string mail, int departId, int power){string sql = "insert into S_Admin(UserName... 阅读全文
posted @ 2015-04-17 09:55 YyuTtian 阅读(164) 评论(0) 推荐(0) 编辑