ADO.net 3.0 Sample 数据库配置问题

用Sql2005直接AttachSample中提供的NorthwindCTP.mdf是有问题的。


解决方法可以使用命令行:直接Attach Sample DataBase
EXEC sp_attach_db @dbname = N'NorthwindCTP',
    @filename1 = N'c:\NorthwindCTP.mdf';

posted @ 2007-02-03 22:41  RicoRui  阅读(509)  评论(0编辑  收藏  举报