SqlCeConnection 连接字符串
SqlCeConnection _conn= new SqlCeConnection("DataSource=mobile.sdf");
SqlCeDataAdapter da= new SqlCeDataAdapter("select * from user", conn);
DataTable dt = new DataTable();
sada.Fill(dt);
dataGrid1.DataSource = dt;
SqlCeDataAdapter da= new SqlCeDataAdapter("select * from user", conn);
DataTable dt = new DataTable();
sada.Fill(dt);
dataGrid1.DataSource = dt;
让 初学者 少走弯路。。。