public EmployeeControl() { InitializeComponent(); bll = new HREmployeeBusinessLogicLayer(ConfigurationManager.ConnectionStrings["cn"].ConnectionString); }
protected void Page_Load(object sender, EventArgs e) { bll = new HREmployeeBusinessLogicLayer(ConfigurationManager.ConnectionStrings["cn"].ConnectionString); }