hello sir this my connection string which iam assigning in my code behind globally .....
Dim constr As String = String.Format(System.Configuration.ConfigurationManager.ConnectionStrings("SoftAssetMgmtConnectionString"), "sysclouds@sam")
Dim conn As SqlConnection = New SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings("constr").ToString())
iam encountering a error ie.
Unable to cast object of type 'System.Configuration.ConnectionStringSettings' to type 'System.IFormatProvider'.