, , , :
, Windows Forms, Project- > Add New Item- > Local Database
SQL Server Compact Edition.SDF . Visual Studio SQL CE Query Analyzer.
Database Explorer ( "testtable" ) "ID" "VALUE".
.SDF. , .
, ?
System.Data.SqlServerCe .SDF. :
using (SqlCeConnection myConnection = new SqlCeConnection(@"Data Source=Path\To\Your\SDF\file.sdf;"))
using (SqlCeCommand myCmd = myConnection.CreateCommand())
{
myCmd.CommandType = CommandType.Text;
myCmd.CommandText = "INSERT INTO testtable (ID, [VALUE]) VALUES (1, whatever)";
myConnection.Open();
myCmd.ExecuteNonQuery();
}
, Path\To\Your\SDF\file.sdf , ; Visual Studio (, \to\\\bin\Debug\file.sdf). , , .SDF , , . , , , .
, , , " " VS ", ".