コード例 #1
0
        protected void PersonsGrid_DeleteCommand(object sender, GridCommandEventArgs e)
        {
            int id = int.Parse((e.Item as GridEditableItem).GetDataKeyValue("Id").ToString());

            serviceClient.DeletePerson(id);
            persons = serviceClient.GetPersons();
        }
コード例 #2
0
 public void DeletePerson(string lastName)
 {
     proxy.DeletePerson(lastName);
 }
コード例 #3
0
 public void DeletePerson(string lastName)
 {
     serviceProxy.DeletePerson(lastName);
 }
コード例 #4
0
 public void DeleteItem(string key)
 {
     proxy.DeletePerson(key);
 }