2

I am new to c# programming and WPF technology. I have an idea of developing an engineering program. my program needs lot of data to work, so I need to include a database with my app. I have written the logic part but at this step I don't know how to add my data to program. should I simply create arrays of them in a class? or there is a better way to do this? I have heard about SQL, but I don't know how that relates to C# programming. also, I need my program to run on any PC without requiring the user to install any extra database program.

1
  • Chose embed DB (like SQL COmpact or SQLLite), then learn howto work with chosen DB. Commented Nov 29, 2016 at 19:06

2 Answers 2

1

I would look into using SQLite. You will also need the System.Data.SQLite ADO.NET provider to work with it within your WPF application.

And the provider is available via. NuGet:

https://system.data.sqlite.org/index.html/doc/trunk/www/faq.wiki#q5

Sign up to request clarification or add additional context in comments.

Comments

0

If you need an embedded object database try LiteDB (litedb.org)

So you use 100% C# managed code and need no knowledge about SQL. You just need to add the DLL to your program.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.