CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2013

    How to Attach .mdf file thorough Code


    Any one Can tell Me how to attach database .mdf file by c# code

    when my form is loaded, if database not create then by default create the database by attach .mdf file ,,,, i'm waiting for Your Awnser....

    Regard:Syed Shahzaib

  2. #2
    Join Date
    Feb 2011
    United States

    Re: How to Attach .mdf file thorough Code

    I think your question is not entirely clear. This post may help though: http://stackoverflow.com/questions/8...-database-file
    Best Regards,

    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.