locked
How to read tables in mdf files using VC++ express 2008? RRS feed

  • Question

  • User834654336 posted

     Hi,

     I have build a MS sql database file from visual web developer, and now I need to access the file using VC++ express 2008.

    Basically I need to be able to execute commands like this

     

    SELECT [HomeAddress], [Number], [Material] FROM [ThisTable] WHERE ([RegisterKey] = @RegisterKey)

     

    and maybe store these data in a list of some sort.

    for the moment I only need to read from the mdf file not writing to it, so select should do the job.

     

    I heard VC++ express used to offer project template called sql server project, but this is not in the 2008 version, I also heard about ADO.net on VC++, but I could only find msdn articles on it.

     

    if possible please give me tutorials and links beside msdn.com because I always find the site confusing to negivate. thanks.

    Monday, March 16, 2009 6:02 AM

Answers

All replies