using System.Data.SqlClient;
~中略~
using (SqlConnection connection = new SqlConnection("CE4.0接続文字列"))
{
SqlCommand command = new SqlCommand("SQL文", connection );
}
using System.Data.SqlServerCe;
~中略~
using (SqlCeConnection connection = new SqlCeConnection("CE4.0接続文字列"))
{
SqlCeCommand command = new SqlCeCommand("SQL文", connection );
}