asp.net OleDbCommand 的用法
OleDbConnection con=new OleDbConnection(“Provider=Microsoft.Jet.OLEDB.4.0; data source=data.mdb”); con.Open(); OleDbCommand dc=new OleDbCommand(“select name from us where id=2”, con); textBox1.Text=dc.ExecuteScalar().ToString(); OleDbConnection con=new OleDbConnection(“Provider=Microsoft.Jet.OLEDB.4
用户评论