2012年10月9日
摘要: 在写LINQ语句的时候,往往会看到.AsEnumerable() 和 .AsQueryable() 。例如:string strcon = "Data Source=.\\SQLEXPRESS;Initial Catalog=Db_Example;Persist Security Info=True;User ID=sa;Password=sa";SqlConnection con = new SqlConnection(strcon);con.Open();string strsql = "select * from SC,Course where SC.Cno 阅读全文
posted @ 2012-10-09 17:53 cw_volcano 阅读(416) 评论(0) 推荐(0) 编辑