Question: What does the following ListView code do? private void Listview (string name, string surname) ListViewiten myUpdate = new ListViewItem(+ autoID); ListViewItem.ListViewSubItem rowName = new ListViewItem.ListViewSubItem(myUpdate,

 What does the following ListView code do? private void Listview (string

What does the following ListView code do? private void Listview (string name, string surname) ListViewiten myUpdate = new ListViewItem(""+ autoID); ListViewItem.ListViewSubItem rowName = new ListViewItem.ListViewSubItem(myUpdate, name); Listviewitem.ListViewSubItem rowSurname = new ListViewItem.ListViewSubItem(myUpdate, surname); myUpdate SubItems.Add(rowName); myUpdate SubItems.Add(rowSurname); myListView.Items.Add(myUpdate); this.autoID++; this. RemoveOwnedForm(this); Select one: O a updates rowName and rowSurname, and removes the old values from the form. b. adds row Name and rowSumame to the ListView c. updates row Name and rowSurname in the LaView d. removes the current form

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!