示例#1
0
        private void LoadContactInformation()
        {
            var contactInformation = _contactInformationService.GetContactInformation();

            if (contactInformation != null)
            {
                ContactInfoGrid.DataSource = contactInformation;
            }
            else
            {
                ContactInfoGrid.DataSource = new ContactInformation();
            }
            ContactInfoGrid.DataBind();
        }