private void CreateRecord(string smallDescription, string description, string isoCode) { CxCountry.CreateRecord(smallDescription, description, isoCode); BackPanel.Visible = true; ConfirmButtonPanel.Visible = false; DetailPanel.Visible = false; ShowInfo(MessagePanel, Resources.Resource.mRecordCreateOK); }
public void BindCountries(DropDownList ddl2Bind) { ddl2Bind.DataSource = CxCountry.GetCountriesList(); ddl2Bind.DataTextField = "Description"; ddl2Bind.DataValueField = "CountryId"; ddl2Bind.DataBind(); ddl2Bind.Items.Insert(0, new ListItem(Resources.Resource.lSelectOne, "0")); }
private void DeleteRecord(int code) { CxCountry.DeleteRecord(code); BackPanel.Visible = true; ConfirmButtonPanel.Visible = false; DetailPanel.Visible = false; ShowInfo(MessagePanel, Resources.Resource.mRecordDeleteOK); }