Beantwortet Vision Clinic

  • 13 มีนาคม 2555 7:52
     
     
    Not really expert to install vision clinic sql & prescriptioncontoso file, any easier way / steps to continuing Connect to a Database steps? Thankx..
    • ย้ายโดย Bob Wu-MTMicrosoft 14 มีนาคม 2555 6:24 Visual Studio LightSwitch issue (From:Windows Forms Data Controls and Databinding)
    •  

ตอบทั้งหมด

  • 14 มีนาคม 2555 6:24
     
     
    HI Lex19,
    According to your description, this is a Visual Studio LightSwitch issue. I move it to the Visual Studio LightSwitch - General Questions Forum for better support.
    Sorry for any inconvenience.
    Best Regards,


    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

  • 14 มีนาคม 2555 8:07
     
     
    Thankx.. New User here..
  • 14 มีนาคม 2555 8:11
     
     

    You're welcome.

    Have a nice day.


    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

  • 14 มีนาคม 2555 8:57
     
     
    No, I’m not. I think some other community members in this forum will help you on this topic.

    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

  • 14 มีนาคม 2555 9:01
     
     
    Nvm.. thankx..
  • 14 มีนาคม 2555 16:16
     
     คำตอบ

    Hi Lex,

    I'd suggest having a go at installing the PrescriptionContoso database. You'll probably find that it's not as difficult as you think!

    There are only really 2 steps involved (outlined in the help file) which are:

    1. In Windows Explorer, copy the PrescriptionContoso.mdf  and attachContoso.sql files to the C:\Temp directory. Please note that if you place the files in a directory with a different name, you will also need to change it in the attachContoso.sql script and in several steps in the walkthrough.
    2. From an elevated command prompt, switch to the C:\Temp directory and type sqlcmd -S .\SQLExpress -i attachContoso.sql.

    If this doesn't work, make sure that you've run sqlcmd from an *elevated* command prompt.  This is often the part that catches out most people.

    Tim

    • ทำเครื่องหมายเป็นคำตอบโดย Allen Li - MSFTModerator 19 มีนาคม 2555 1:50
    •  
  • 17 มีนาคม 2555 15:15
     
     
    Thankx Tim..