Connecting To SQL Database In C#

Posted by Soo on Stack Overflow See other posts from Stack Overflow or by Soo
Published on 2010-05-07T15:49:17Z Indexed on 2010/05/07 15:58 UTC
Read the original article Hit count: 281

Filed under:
|
|
|

Hey everyone,

I'm pretty familiar with SQL syntax (via MySQL) and am just getting my feet wet with C# and SQL server.

I currently have a .sdf database on my C:\ drive and want to connect to it in C#.

I added the database as a data source and now need help figuring out how to get data from the database in my C# application.

I just want to be able to set an object to the data in my SQL database so I can manipulate it using C#.

Thanks in advance for replies.

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql