4
Contributors
6
Replies
19
Views
5 Years
Discussion Span
Last Post by longstrd
Featured Replies
  • Try This. Just follow This code [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim List1 as ListViewItem List1 = Me.ListView1.Items.Add(me.Textbox1.Text) List1.Items.Add(Me.Textbox2.Text) End Sub [/CODE] Read More

1

Try This. Just follow This code

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim List1 as ListViewItem

List1 = Me.ListView1.Items.Add(me.Textbox1.Text)
List1.Items.Add(Me.Textbox2.Text)
       
    End Sub
0

Whin Lopez, As the code of Vanzhyme worked for you, mark this thread as solved, found at the bottom of this page.

0

how would you accomplish this feat in web.ui listview.
Textbox5.text is outside of the listview

Firstnametextbox, last and middle are textboxs in inserttmplate in listview on same page.

Person clicks button one on page to fill in textbox3 - 5. then click button 2. when page reloads and listbox renders have the values of textboxt 5 in fristnametextbox in Instert template. Prior to the listview insert command being issued. Due to the user has to fill in one or two values themselves first.

how would you do that?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.