I got stuck in a problem in morning
as till now I have a class CGeneral
where I have declared my SqlConnection con as static and invoked there like this
Code:
private static string constr = DecValue(ConfigurationManager.ConnectionStrings["FinCon"].ConnectionString); public static SqlConnection con =new SqlConnection(constr);