Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8477583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:30:29+00:00 2026-06-10T18:30:29+00:00

In VB 2008 I created 2 list box. The first list box is to

  • 0

In VB 2008 I created 2 list box. The first list box is to load all the data in my database in a specific row, the other list box is when I double click on the data/item on the first list box the specific data/item need to be transfer to the second list box.

I manage to transfer the data, but the output it gave was wrong. Instead of the actual name of the given data/item the output it gave was System.Data.DataRowView. I tried using .ToString() but nothing happens. I used the drag and drop method for the data adapter connection and the database I’m using is MySQL. I use the “Use data bound items” on list box 1.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T18:30:31+00:00Added an answer on June 10, 2026 at 6:30 pm

    You should do it like this,

    Private Sub ListBox1_DoubleClick(sender As Object, e As EventArgs) _
                                    Handles ListBox1.DoubleClick
        ' checks if the item is empty
        If ListBox1.SelectedItem.ToString.Length <> 0 Then
            ' adds on listbox 2
            ListBox2.Items.Add(ListBox1.Text)
        End If
    
    End Sub
    

    See this,

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to access list data using SSRS 2008. I have created an XML
I have created SQL Server 2008 Database project using visual studio 2010. after build
I created a SDF (SQL CE) database with Visual Studio 2008 (Add / New
I created dataset that contains Table View from SqlServer 2008 database. Then I created
I just created my first Web Service. I use: IIS 7.5 VS 2008 .Net
I've created a complex search query in SQL 2008 that returns data sorted by
I created a list based on this example: http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/ In GetView method, need to
I'm using Visual Studio 2008 and have created a setup project for my application.
I am trying to develop web parts in VS 2008/WinXP I created a Web
I created a project that has unit tests in Visual Studio 2008 using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.