Beispiel #1
0
        protected void lnkDelete_Click(object sender, EventArgs e)
        {
            int indexid = ((GridViewRow)((LinkButton)sender).Parent.Parent).RowIndex;
            string ID = grdCustomers.Rows[indexid].Cells[4].Text;

            ManageUserSVC.ManageUserClient Client = new ManageUserSVC.ManageUserClient();
            Client.DeleteCustomer(Guid.Parse(ID));
            CustomerBind();
        }