简体   繁体   中英

ms sql server vs ms sql compact

I have to use ms sql database in my ASP.NET project and I want to use a local database file without installing sql server. Do I have to use mdf file or I should do it with ms sql compact?

Thanks in advance

Use may want to use LocalDb. Compact is old way of doing it.

Or try this post . it will give you an idea. Add *.mdf file to C# Project

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM