Which database type can I populate using a C# Winforms util and then add to an project?


  • I want to add a database to my site/app, but want to populate the database via a C# Winforms utility. Which database can I create and then seamlessly add (populated) to my project? IOW, I want to populate the tables via my C# Winforms utility, but then query the tables from my project.

    I'm using both Visual Studio and Web Matrix for my Web Pages / project. Can I create the database in WebMatrix, and then access it for writing from my C# Winforms util?
    Tuesday, August 06, 2013 4:03 PM


  • Hello,

    Yes, you can try to use SQL Server Compact which is a embedded database engine with your application to create compact databases. After create database and table in the client applications, you can deploy the database on desktop computers, smart devices, and Tablet PCs.

    Reference:Walkthrough: Working with SQL Server Compact in Visual Studio

    Fanny Liu

    If you have any feedback on our support, please click  here.

    Fanny Liu
    TechNet Community Support

    Wednesday, August 07, 2013 3:03 AM