摘要: OleDbCommand cmd = new OleDbCommand("select * from [Admin] where [名字] = [@名字]",conn); cmd.Parameters.Add("名字",textBox_用户名.Text); conn.Open(); OleDbDataReader dr = cmd.ExecuteReader(); if (dr.Read()) {... 阅读全文
posted @ 2009-06-20 15:40 Jamy 阅读(303) 评论(0) 推荐(0) 编辑