0

インターネットからasp.netWebフォームアプリケーションをダウンロードしました。データベースとテーブルを作成するための.sqlファイルが含まれていました。私はasp.net/visualstudioを初めて使用し、これに何日もこだわっています。助けが必要。

これが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>

4

2 に答える 2

2
  1. Visual Studio で拡張子が .sql のファイルを開きます。
  2. 右クリック
  3. スクリプトを実行
于 2013-01-14T11:50:07.310 に答える
0
  1. SQLファイルを開く
  2. CTRL-SHIFT-E を使用
于 2013-04-18T07:11:17.150 に答える