• λ我爱Aspx >> Asp.Net >> .NET中各种数据库连接的方法
  • .NET中各种数据库连接的方法

  • :未知  Դ:internet  :2007-5-20 16:41:10  ؼ:.net,数据库,数据
  • Initial File Name The name of the primary file, including the full path name, of an attachable database. The database name must be specified with the keyword ‘database‘.

    Connect Timeout

    -or-

    Connection Timeout 15 The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error.

    Connection Lifetime 0 When a connection is returned to the pool, its creation time is compared with the current time, and the connection is destroyed if that time span (in seconds) exceeds the value specified by connection lifetime. Useful in clustered configurations to force load balancing between a running server and a server just brought on-line.

    Connection Reset ‘true‘ Determines whether the database connection is reset when being removed from the pool. Setting to ‘false‘ avoids making an additional server round-trip when obtaining a connection, but the programmer must be aware that the connection state is not being reset.

    Ҷƪл˵?
  • һƪ用asp.net画饼图(可用于各种投票程序)
    һƪ得到真实IP