0

I downloaded a asp.net webform application off the internet and it included a .sql file to create the database and tables. I'm new to asp.net/visual studio and kind of stuck with this for days now. Need help.

here's the content of the web.config

<configuration>
<connectionStrings>
    <add name="MyConsString" connectionString="Data Source=localhost\SQLEXPRESS; Initial Catalog=myslideshow; Integrated Security=SSPI;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
    <compilation debug="true" targetFramework="4.0"/>
<httpRuntime executionTimeout="240" maxRequestLength="10240000" />
</system.web>

1
  • open the .sql file in sql server and press f5 or press execute button in window authentication Commented Jan 14, 2013 at 11:52

2 Answers 2

2
  1. Open the file with .sql extension in visual studio
  2. Right Click
  3. Execute script
Sign up to request clarification or add additional context in comments.

1 Comment

No option to execute script
0
  1. Open the SQL file
  2. use CTRL-SHIFT-E

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.