王帅磊  

2018年11月22日

摘要: public int gradeadd(grade model) { string sql = string.Format("insert into greade(studentname,sex,classgrade,math,chinese,English) values('{0}','{1}', 阅读全文
posted @ 2018-11-22 18:39 程序圆吧 阅读(170) 评论(0) 推荐(0) 编辑
 
摘要: Model1 db = new Model1(); public int add(Wsl.Model.Ram model) { db.Ram.Add(model); return db.SaveChanges(); } public List<Ram> select() { List<Ram> n 阅读全文
posted @ 2018-11-22 18:33 程序圆吧 阅读(74) 评论(0) 推荐(0) 编辑
 
摘要: using System.Reflection; using System.Configuration; static string path = ConfigurationManager.AppSettings["dal"];//"DAL"; public T create<T>(string t 阅读全文
posted @ 2018-11-22 18:16 程序圆吧 阅读(100) 评论(0) 推荐(0) 编辑