How can I modify .mdf file from my WPF application RRS feed

  • Question

  • Hi ,

    I have a database file that is called (Trial.mdf)

    and I am currently using WPF , C# , LINQ to SQL in my project

    I built a dbml file , and added the .mdf file to my project , and I have also wrote some code to update the databse (Trial.mdf) but all the updates are actually being done on the datacontext and the database isn't updated at all !!

    is there like a way to connect the database to my datacontext ??

    why can't my program see the .mdf file at all ??

    Tuesday, November 2, 2010 4:36 AM