poonams 0 Newbie Poster

hi all

thanks for previous reply.
I have another qurey.I serched lot for this ,but did't get proper solution.
Actully in my application m using vb.net2003 and access.On one form I have used tabcontrol with 2 tabpages.On 1st tabpage there is list view.I wt i want is ,when i click on any item the text of that item should display on textbox of another tabpages.To get text value of item i wrote several code like

Dim item As ListViewItem
        Dim column As Integer
     MessageBox.Show(item.SubItems(0).Text)

or
       MsgBox(LstRecord.SelectedItems(1).Text)
or
       MsgBox(LstRecord.SelectedItems(1).SubItems(2).Text)
or
   l1.Text = LstRecord.SelectedItems(3).Text.ToString
or
MsgBox(e.Item.ToString)

it fails every time.Plz help me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.