none
菜鸟求教Login控件问题 RRS feed

  • 问题

  •  之前有建好数据库,在web.config中有:
     <connectionStrings>
      <add name="ConnectionString" connectionString="Data Source=machinename;Initial Catalog=mydb;Integrated Security=True" providerName="System.Data.SqlClient"/>
     </connectionStrings>

    但是asp.net configuration 连不上数据库:
    Provider Management
    Could not establish a connection to the database.
    If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider.


    请问Login控件是如何连接到数据库,是否和datalist控件一样需要绑定到数据库?
    2010年2月25日 8:26

答案

全部回复