DB/ACCESS(4)
-
[ACCESS] DB압축
msjro.dll 참조위치는 C:\Program Files\Common Files\System\ado\msjro.dllC# 버전---------------------using JRO; JetEngine jet=new JetEngine(); string current=""; jet.CompactDatabase("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + current + ";", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=__tmp__.mdb; Jet OLEDB:Engine Type=5;"); File.Delete(current); File.Copy("__tmp__", current); --------------------..
2012.10.12 -
[Access] ODBC연결
OdbcConnection odcon;odcon=new OdbcConnection("DSN=디비명");OdbcCommand cmd;OdbcDataReader reader;odcon.Open();cmd=new OdbcCommand("select * from 테이블",odcon);reader=cmd.ExecuteReader();while(reader.Read()){ reader["필드"].Tostring()}
2012.09.05 -
[ACCESS ]EDWin 역공학 방법
EDWin 연결 안될때 user 에 admin 입력하면 된다.
2011.11.13 -
[Access] 레코드값 자동증가 테이블 생성
create table my1 ( [count] autoincrement not null primary key, [note] text null ); autoincrement : 자동증가 not null : 빈공간 없이 Primary key : 기본키
2011.11.04