public void GetAggreAPIDetailByID(long APIID)
        {
            iCompanySetupClient aggregator = new iCompanySetupClient();
            CustomProfile       profile    = CustomProfile.GetProfile();
            mAgreegatorAPI      aggreAPI   = new mAgreegatorAPI();

            aggreAPI = aggregator.GetAggreegatorAPIbyID(APIID, profile.DBConnection._constr);
            if (aggreAPI.AgreegatorID != null)
            {
                hdnselectedAggID.Value = aggreAPI.AgreegatorID.ToString();
            }
            if (aggreAPI.APIName != null)
            {
                txtapi.Text = aggreAPI.APIName.ToString();
            }
            if (aggreAPI.Purpose != null)
            {
                txtpurpose.Text = aggreAPI.Purpose.ToString();
            }
            if (aggreAPI.InputParameter != null)
            {
                txtinputpara.Text = aggreAPI.InputParameter.ToString();
            }
            if (aggreAPI.OutputParameter != null)
            {
                txtoutputpara.Text = aggreAPI.OutputParameter.ToString();
            }
            if (aggreAPI.APIURL != null)
            {
                txturl.Text = aggreAPI.APIURL.ToString();
            }
            if (aggreAPI.Remark != null)
            {
                txtremark.Text = aggreAPI.Remark.ToString();
            }
            if (aggreAPI.CompanyID != null)
            {
                hdnCompanyid.Value = aggreAPI.CompanyID.ToString();
            }
            if (aggreAPI.CustomerID != null)
            {
                hdncustomerid.Value = aggreAPI.CustomerID.ToString();
            }
            if (aggreAPI.Active == "No")
            {
                rbtnActiveNo.Checked = true;
            }
        }