int val = lstvRecordsCus.SelectedItems[0].SubItems[0];
The returned value is an int in a string datatype. I need the right hand side to return the value in int instead of string.
I tried Convert.ToInt32, it didn't work. Any idea?
All the values that comes from SelectedItems[0].SubItems[0] is of type int.