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

    How to Attach .mdf file thorough Code

    A.o.A....

    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
    Location
    United States
    Posts
    954

    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,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    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.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

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



HTML5 Development Center

Click Here to Expand Forum to Full Width