private void BindLable()
    {
        string Code = code;

        if (standardComment.CheckVendorORCistomerNumberValid(Code, "Cust"))
        {
            SetCustomerAndVendorInformation(Code, "Cust");
            BindDataGrid();
            btnAdd.Visible = (CommentSecurity != "") ? true : false;
        }
        else
        {
            DisplaStatusMessage("Invaild Customer Number", "Fail");
        }
    }
Example #2
0
    private void BindLable()
    {
        string Code = code;

        if (standardComment.CheckVendorORCistomerNumberValid(Code, ddlType.SelectedItem.Value))
        {
            SetCustomerAndVendorInformation(Code, ddlType.SelectedItem.Value);
            BindDataGrid();
            btnAdd.Visible = (CountrySecurity != "") ? true : false;
        }
        else
        {
            DisplaStatusMessage("Invaild " + ddlType.SelectedItem.Text + " Number", "Fail");
        }
    }