Question: Given the following code, what should be typed into the /MISSING CODE/arca in order to make sure that when a cell is clicked on a

 Given the following code, what should be typed into the /"MISSING

Given the following code, what should be typed into the /"MISSING CODE"/arca in order to make sure that when a cell is clicked on a dataGridView, the records are visible on relevant textboxes? class Customer public int no { get; set; } public string fullNane get; set; public string position ret; set; } public long salary ( get; set; } ) private void MyDataGridViewCellClick(object sender, DataGridViewCellEventArgs e) this.MyDataGridView.Defaultcellstyle. SelectionBackcolor - selectionBackcolor: this. MyDataGridView.DefaultCellstyle. SelectionForeColor - selectionFrontColor, var selectedPerson - /"MISSING CODE if (selectedEmployee != null) { txtNo. Text - MyDataGridView. SelectedRows[0].Cells[e].Value.ToString(); txtFullName.Text - MyDataGridView.selectedRows[0].Cells[1].Value.ToString: txtPosition. Text - MyDataGridView.SelectedRows[0].Cells[2].Value.ToString(): txtSalory.Text - MyDataGridView.selectedRows[0].Cells[2].Value.ToString() > } Select one: a myDataGridView Selected Rows[oj.DataBoundItem as customer b. myDataGridView.SelectedColumn.DataBounditem as Customer O c myDataGridView.SelectedColumn DataBoundltem as people, madim.Salled Bandit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!