protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         CollectionPointBL cpbl = new CollectionPointBL();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            CollectionPointBL cbl = new CollectionPointBL();

            ebo    = (EmployeeBO)Session["employee"];
            deptid = ebo.EmployeeDept;

            if (!IsPostBack)
            {
                rblCollectionPoint.DataSource    = cbl.getAllCollectionPointList();
                rblCollectionPoint.SelectedValue = cbl.getCollectionPoint(deptid);
                rblCollectionPoint.DataBind();
            }
            cp             = rblCollectionPoint.SelectedValue;
            tbDepName.Text = cbl.getCollectionTime(cp);
            String currentPoint = cbl.getCollectionPoint(deptid);
            String current      = cbl.getCollectionPoint(deptid).ToString() + " (" + cbl.getCollectionTime(currentPoint) + ")";

            lblCurrentCollectionPoint.Text = current;
        }