i have list box which is populated from the database and i want to store the selected Item in the list box to another table in the data base please help, my code is bellow
For intCounter = 0 To ListBox1.Items.Count - 1 If ListBox1.GetSelected(intCounter) Then strArrSelectedEmployees(intSelectedCounter) = ListBox1.GetItemText(ListBox1.Items(intCounter).ToString) temp = ListBox1.Items(intCounter).ToString RichTextBox1.Text &= System.Environment.NewLine & temp intSelectedCounter = intSelectedCounter + 1 End If
i'm trying to get the item into ricch tex box the value which is stored on button click is System.Data.DataRowView
ex1.bmp (960.05K)
Number of downloads: 80
i have attached a screen shot in that it is showing what i'm getting when i click on button
please help

New Topic/Question
Reply




MultiQuote




|