<p>Okay, I've seen but haven't programmed in C# before.  You can assume I'm competent in C++, and advanced in C (for what good that'll do me).  I understand inheritance, polymorphism, etc so OO concepts aren't going to be a huge problem.</p>

<p>Let's say I've been given a task to prototype a quick and dirty program that won't be much different than what I could do in access in a short time.</p>

<ul>
<li>It'll have a DB with 5-6 tables (mostly small, a few with have several thousand rows but only 4 or so columns, etc)</li>
<li>I'll need to have forms generated dynamically from one of the DBs</li>
<li>The results of the forms will be stored in another table</li>
<li>The DB isn't multiuser</li>
</ul>

<p>Basically your run of the mill access app... except without access.  I'm sure I can muddle my way through and create horrendously bad code, but I'm equally sure lots of people here can give me a push in the right direction (tutorials, wizards, info, differences and killers moving from C/C++ to C#, etc).</p>

<p>Is there a simple DB I can plug in to get started aside from mdb, or is that the best choice for this particular nail?  I'm aiming for a quick and dependency-less install.</p>

<p>Thanks!</p>

<p>-Adam</p>

[{'answer_id': 76230, 'author': 'Sam', 'author_id': 9406, 'author_profile': 'https://Stackoverflow.com/users/9406', 'pm_score': 1, 'selected': False, 'text': "<p>If you already have MS Access installed, then yes the mdb is probably your quickest way to get started.</p>\n\n<p>Also you will want to just started with a quick ADO.NET tutorial. There are hundreds of these (well almost hundreds, I haven't counted).</p>\n"}, {'answer_id': 76236, 'author': 'NerdFury', 'author_id': 6146, 'author_profile': 'https://Stackoverflow.com/users/6146', 'pm_score': 3, 'selected': True, 'text': '<p>It sounds like for this app, you could use <a href="http://www.asp.net/dynamicdata/" rel="nofollow noreferrer">Microsoft Dynamic Data</a> or <a href="http://www.castleproject.org/activerecord/index.html" rel="nofollow noreferrer">Castle Active Record</a>, and have the application working a few minutes after you finished the database.  These tools connect to a database and generate forms for inputing data.  Take a look at them.</p>\n\n<p>Access is probably your best choice for database.  MS Sql 2005/2008 Express would also work well, but that would require an install.</p>\n'}, {'answer_id': 76237, 'author': 'lakshminb7', 'author_id': 3113, 'author_profile': 'https://Stackoverflow.com/users/3113', 'pm_score': 1, 'selected': False, 'text': '<p>How about using SQLlite instead of access for db? I have never used it but have heard that its good for some light weight and quick db tasks.</p>\n'}, {'answer_id': 76241, 'author': 'japollock', 'author_id': 1210318, 'author_profile': 'https://Stackoverflow.com/users/1210318', 'pm_score': 2, 'selected': False, 'text': "<p>If you're programming in C#, Visual Studio comes with an added install for SQL Server Express.  If you're looking to get something up quick and dirty, it would pretty easy to leverage that database in building your app.</p>\n"}, {'answer_id': 76527, 'author': 'MagicKat', 'author_id': 8505, 'author_profile': 'https://Stackoverflow.com/users/8505', 'pm_score': 1, 'selected': False, 'text': '<p>SqlExpress would be your best bet, simply because you already have all the support that you need in System.Data.SqlClient.  Other then that, there are some decent help on the MSDN.</p>\n'}, {'answer_id': 81408, 'author': 'jarrodn', 'author_id': 15273, 'author_profile': 'https://Stackoverflow.com/users/15273', 'pm_score': 1, 'selected': False, 'text': '<p><a href="http://sqlite.phxsoftware.com/" rel="nofollow noreferrer">SQLite</a> is exactly what you\'re after. It\'s a C library for accessing a file based relational database. The referred site has full visual studio support (System.Data.SQLite).</p>\n'}, {'answer_id': 81426, 'author': 'Paul Dolphin', 'author_id': 10186, 'author_profile': 'https://Stackoverflow.com/users/10186', 'pm_score': 1, 'selected': False, 'text': '<p>I would suggest using <a href="http://subsonicproject.com/" rel="nofollow noreferrer">SubSonic</a> to generate your data access code and scaffold your screens.</p>\n'}, {'answer_id': 3778553, 'author': 'pkspence', 'author_id': 356542, 'author_profile': 'https://Stackoverflow.com/users/356542', 'pm_score': 2, 'selected': False, 'text': '<p>If concurrency is <em>not</em> an issue, then I\'d say go with SQLite. An ADO.NET provider can be found here: <a href="http://sourceforge.net/projects/sqlite-dotnet2/files" rel="nofollow noreferrer">http://sourceforge.net/projects/sqlite-dotnet2/files</a>. As for the concurrency issue, when performing a bunch of inserts, that operation needs to be enclosed within a transaction. However, that transaction places an exclusive lock on the database until the transaction is either commited or rolled back. At least that\'s been my experience, but I\'ve only been using it for a week or two myself.</p>\n\n<p>Hope that helps!</p>\n'}]
['https://Stackoverflow.com/questions/76206', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2915/']