Hi, i'm developing a project on employees. I have added a list box and now i need help to display the data about my employees in the list box. How am i supposed to do that, do we have to put in codes or need to use that small arrow near the list box.

Can anyone help me out with the procedure or codes of doing it, please.

pavan1 commented: how to set child form on mdiform properset +0

Me.ListView1.View = System.Windows.Forms.View.Details
ListView1.Columns.Add("Id")
ListView1.Columns(0).Width = 300
ListView1.Columns.Add("Comments")
ListView1.Columns.Add("Submitter")
ListView1.Columns.Add("TimeSubmitted")

Dim lstViewItem As ListViewItem
lstViewItem = ListView1.Items.Add(tmpEval.Id)
lstViewItem.SubItems.Add(tmpEval.Comments())
lstViewItem.SubItems.Add(tmpEval.Submitter)
lstViewItem.SubItems.Add(tmpEval.TimeSubmitted)

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.