Saturday, January 21, 2012

connectionstring

<add name="ConnectionString" connectionString="Data Source=.; Connect Timeout=500; Initial Catalog=fortune; User Id=sa; Password=sa123;"
providerName="System.Data.SqlClient" />

2 comments:

  1. Please tell more about

    Connect Timeout=500

    How is this useful?

    ReplyDelete
    Replies
    1. To set timeout property to Connection String in web.Config (time taken to establish connection by default 300) .

      Delete