private void cut_grid_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex >= 0) { cut_grid.SelectionMode = DataGridViewSelectionMode.FullRowSelect; DataGridViewRow row = this.cut_grid.Rows[e.RowIndex]; cut_code.Text = row.Cells["Customer_Code"].Value.ToString(); cut_name1.Text = row.Cells["Customer_Name"].Value.ToString(); cut_name2.Text = row.Cells["Customer_Name2"].Value.ToString(); iadd1.Text = row.Cells["Invoice_Address"].Value.ToString(); iadd2.Text = row.Cells["Invoice_Address2"].Value.ToString(); iadd3.Text = row.Cells["Invoice_Address3"].Value.ToString(); iadd4.Text = row.Cells["Invoice_Address4"].Value.ToString(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)