Quick ListView Dilemma

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

txtLineTotal.Text = lstOrderDtl.Items(lstOrderDtl.SelectedIndices(0)).SubItems(0).Text().ToStrin

Argument Out of range exception, the value being passed is "1

Any ideas?
 
marcmc said:
txtLineTotal.Text = lstOrderDtl.Items(lstOrderDtl.SelectedIndices(0)).
SubItems(0).Text().ToString

Argument Out of range exception, the value being passed is "1"

Any ideas?

We could do with knowing the types of the various things.

Does Text() not return a string, by the way? If so, why are you calling
ToString on it?
 
Back
Top