摘要:
// Specify the data source. int[] scores = new int[] { 97, 92, 81, 60 }; // Define the query expression. IEnumerable scoreQuery = from score in scores where score > 80 select score; // Execute the query. foreach (int i in scoreQu... 阅读全文
posted @ 2013-09-13 08:50
程序猿网友666
阅读(154)
评论(0)
推荐(0)
摘要:
web.config配置 // 获取连接字符串 string _connectionString = System.Configuration.ConfigurationManager.AppSettings["ConnectionString"];SqlConnection _conn = new SqlConnection(_connectionString); string sql = "Select * from user "; //SqlCommand _cmd = new SqlCommand(sql, _conn); _co... 阅读全文
posted @ 2013-09-13 07:55
程序猿网友666
阅读(324)
评论(0)
推荐(0)

浙公网安备 33010602011771号