摘要: 因为是三层架构,所以先在Dal层,将数据放入DataTable中先public DataTable dataGrid(string UserName) { string sql = string.Format("SELECT * FROM demoUsers WHERE UserName=@UserName"); Class1 q = new Class1(cc); ArrayList paramlist = new ArrayList(); paramlist.Add(q.CreatePar... 阅读全文
posted @ 2013-04-01 20:46 Jimmy_5 阅读(1652) 评论(0) 推荐(0) 编辑