Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string ConnStr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:abc.mdb;Jet OLEDB:Database Password=password";
- OleDbConnection MyConn = new OleDbConnection(ConnStr);
- MyConn.Open();
- OleDbCommand Cmd = new OleDbCommand(StrCmd, MyConn);;
- OleDbDataReader ObjReader = Cmd.ExecuteReader();
- if (ObjReader != null)
- {
- }
- ObjReader.Close();
- MyConn.Close();
Add Comment
Please, Sign In to add comment