private void FillCenters()
    {
        try
        {

            CenterBL objCenterBL = new CenterBL();

            DataSet dsVehicleTypes = new DataSet();

            if (Cache["Centers"] == null)
            {
                dsVehicleTypes = objCenterBL.GetCenters();
                Cache["Centers"] = dsVehicleTypes;
            }
            else
            {
                dsVehicleTypes = (DataSet)Cache["Centers"];
            }

            ddlCenter.DataValueField = "AgentCenterID";
            ddlCenter.DataTextField = "AgentCenterCode";
            ddlCenter.DataSource = dsVehicleTypes.Tables[0];
            ddlCenter.DataBind();

        }
        catch (Exception ex)
        {

        }
    }
    private void FillStates()
    {
        try
        {
            CenterBL objCenterBL = new CenterBL();
            DataSet dsVehicleTypes = new DataSet();

            dsVehicleTypes = objCenterBL.GetStates();

            ddlstates.DataValueField = "StateName";
            ddlstates.DataTextField = "State_Code";
            ddlstates.DataSource = dsVehicleTypes.Tables[0];
            ddlstates.DataBind();
            ddlstates.Items.Insert(0, "Select");

        }
        catch (Exception ex)
        {

        }
    }