Hi, I am using a listview control, and i cannot add the value i want to the control as it is not in string format, but in Int.
Anyone know how to add an int to the listview?
am i doing this the wrong way?
Regards,
Martin
Computing Design And Services:
Anyone know how to add an int to the listview?
Code:
up the top area
// listview
ListViewItem listViewItem1 = new ListViewItem();
// in a private method
ID = (Int32) dbReader.GetValue(0);
listViewItem1 = lvResults.Items.Add(ID);
Regards,
Martin
Computing Design And Services: