본문 바로가기

Tip !!!/C# tip

DataGridView에서 선택된 Cell 처리

private void dataGrid_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
           txtSerch.Text = dataGrid.SelectedCells[e.ColumnIndex].Value.ToString();
        }