1操作 SQL Server Mobile 2005 数据库的常用 C# 代码整理几段操作 SQL Server Mobile 数据库的常用 C# 代码,供刚刚接触 SQL Server Mobile 开发的朋友参考。
  2操作 SQL Server Mobile 2005 数据库的常用 C# 代码
  3操作 SQL Server Mobile 2005 数据库的常用 C# 代码1. 创建数据库
  4操作 SQL Server Mobile 2005 数据库的常用 C# 代码// 创建数据库
  5操作 SQL Server Mobile 2005 数据库的常用 C# 代码File.Delete("Test.sdf");
  6操作 SQL Server Mobile 2005 数据库的常用 C# 代码SqlCeEngine engine = new SqlCeEngine(
  7操作 SQL Server Mobile 2005 数据库的常用 C# 代码    "Data Source='Test.sdf';LCID=1033;Password=\"s$;2'!dS64\";Encrypt=TRUE;");
  8操作 SQL Server Mobile 2005 数据库的常用 C# 代码engine.CreateDatabase();
  9操作 SQL Server Mobile 2005 数据库的常用 C# 代码
 10操作 SQL Server Mobile 2005 数据库的常用 C# 代码2. 验证和修复数据库
 11操作 SQL Server Mobile 2005 数据库的常用 C# 代码// 验证和修复数据库
 12操作 SQL Server Mobile 2005 数据库的常用 C# 代码SqlCeEngine engine = new SqlCeEngine("Data Source=AdventureWorks.sdf");
 13操作 SQL Server Mobile 2005 数据库的常用 C# 代码if (false == engine.Verify())
 14

参考:
SQL Server Mobile 2005 联机丛书
MSDN Library

http://www.cnblogs.com/upto/archive/2006/08/22/sqlservermobilecode.html

 

 

 

 

相关文章:

  • 2022-01-21
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2021-07-11
  • 2022-01-20
相关资源
相似解决方案