-1

Am developing software in VB.NET that needs to store related information of Contacts etc. I can't use MS-SQL or MySQL as Database because if I do that, then if I've to install on another PC, I'll also need to install MS-SQL on that PC. Isn't there any "built-in Database" in VB.NET?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

4 Answers4

0

You can use DataSets. Have a look here.

Rikki B
  • 636
  • 8
  • 23
0

Based off your use case about needing to store relational data but not being able to install a full-fledged database server product, it sounds like your application benefit from using an embedded database.

There was a previous question about this here

Community
  • 1
  • 1
nkvu
  • 5,551
  • 2
  • 16
  • 12
0

I would recommend XML with Datasets. You need not to install any software, and there are tons of guides on how to read/write from/to XML files.

Another solution would be SQL Compact; it's kinda like SQLite (doesn't require installation)

SQL Compact: http://msdn.microsoft.com/en-us/data/ff687142.aspx

XML Solutions Samples: http://www.codeproject.com/Articles/13854/Using-XML-as-Database-with-Dataset http://www.daniweb.com/software-development/csharp/threads/343670/use-of-xml-file-in-c-instead-of-database

Hanlet Escaño
  • 17,114
  • 8
  • 52
  • 75
0

If your are dealing with a significant amount of data, a database is the appropriate solution. SQL Express is free, works well with VB and is, well, moderately easy to package as a pre-requisite with your msi file when you build the installer.

peterG
  • 1,651
  • 3
  • 14
  • 23