Posted 15 December 2010 - 09:01 PM
it might take a few replys and a bit of back and fourth.
C# would by default access a database using ADO.NET.
There are a few basic concepts you need to understand.
You access the database through a type of data-context called a Connection.
The content in the database, is totally disconnected from data you work with, from within your application. You can translate to and from it using Command object.
(a command object requires context to the data (using the connection object))
You describe actions to the database, using SQL (structured query language)
that's about as sparse I can explain in this specific frame of mind. If you care to read, absorb, think about and ask a question, or simply ask me to talk on, my next post will explain how to connect to a database and execute basic requests against it.
If you give me a more specific example of what you're trying to do, I'll explain that too.
It's a really large topic, and a really broad question to ask. There's a lot to know and understand to work with databases effectively.