示例#1
0
        protected void gvCustomer_OnItemCommand(object source, GridCommandEventArgs e)
        {
            if (e.CommandName == RadGrid.DeleteCommandName)
            {
                int deleteCustomerId = Convert.ToInt32(gvCustomer.MasterTableView.DataKeyValues[e.Item.ItemIndex]["C_CustomerId"].ToString());
                int matchCustomerId  = Convert.ToInt32(gvCustomer.MasterTableView.DataKeyValues[e.Item.ItemIndex]["MatchCustomerId"].ToString());

                customerBo.CreateCustomerMerge(deleteCustomerId, matchCustomerId);
                ShowMessage(CreateUserMessage("MatchSuccessFul", 0, ""), 's');

                GetDummyPanBasedOnCriteria();
            }
        }