hi,
i use this code to connect to MSAccess via C# :
OleDbConnection conn = new OleDbConnection();
OleDbDataAdapter da = new OleDbDataAdapter();
DataSet ds=new DataSet();
conn.ConnectionString "Provider=Microsoft.Jet.OLEDB.4.0; User ID=Admin; Data source=d:\Ordu.mdb";
conn.Open();
da.SelectCommand = new OleDbCommand("Select * from Ordu",conn);
da.Fill(ds);
if (conn.State!=ConnectionState.Closed)
{
conn.Close();
}
but there is some problems.
i want to insert some rows to my table, i don't know how to insert them!
please help me about that!
tnx,
Amin