How to Deploy c# windows app with msde

I am trying to learn how to deploy a windows app coded in C#.
I am using the latest version of the msde and am not sure how I incorporate the database that uses sql server authentication.  The logins are stored in a table in the db.
Please provide a code sample or a good reference book.  I have read quite a few Wrox books and they are not complete on this subject.
Thanks,
Jeff


Answer this question

How to Deploy c# windows app with msde

  • vision2020

    yah, just use Windows Authentication when the app starts up so you can get those sql logins.  Just means you'll have to use two connection objects instead of one.
  • realism

    I recently went through this cycle with MSDE and C# and most of my problems involved the installation of the MSDE, more than the C# connection string.

    I've read all of the books and articles and as far as trusted connections as concerned, I think the best was "Beginning C# Databases ISBN 1-861006-09-8 where on P94 it very clearly gives you Integrated security based connection code.

    There's just too much stuff to post here ... sorry.

  • How to Deploy c# windows app with msde