예제 #1
0
        private void dgp_CellValueChanged(object sender, DataGridViewCellEventArgs e)
        {
            FilePersonKeywordClient client = new FilePersonKeywordClient();

            Console.WriteLine(e.RowIndex + " " + e.ColumnIndex);
            MemoriesManager.Person person;
            Console.WriteLine(dgp_DB[0, e.RowIndex] + " " + dgp_DB[1, e.RowIndex].ToString() + " " + dgp_DB[2, e.RowIndex].ToString());
            person = client.UpdatePersonNameById(Convert.ToInt32(dgp_DB[2, e.RowIndex].Value), dgp_DB[1, e.RowIndex].Value.ToString(), dgp_DB[3, e.RowIndex].Value.ToString());
            client.Close();
        }