Hi
I have created below Class. I want connection should be called once for all forms. I am using Windows Form Application
class DBConnection
{
public SqlConnection con;
public void Connection()
{
con = new SqlConnection("Data Source = .;Initial Catalog = Pl_Live; Integrated Security=true;");
}
}
Thanks