摘要:
View Code 1 using (SqlConnection con = new SqlConnection(strcon))2 {3 string sql = "select * from Forums where ForumID=1";4 SqlCommand cmd = new SqlCommand(sql, con);5 con.Open();6 SqlDataReader reader = cmd.ExecuteReader();7 Response.Write(reader[0]); 8 }报错:在没有任何数据时... 阅读全文
posted @ 2012-03-01 17:03
FeeLone
阅读(122)
评论(0)
推荐(0)
浙公网安备 33010602011771号