Users Pricing

forum

Home Forums Transferring data from one list box to another c# – MindStick

Transferring data from one list box to another c#

Anonymous User 2890 12 Dec 2013

I have 2 list boxes one is connected to a database the other isnt.

I want to be able to send the selected item from the listbox connected to the database to the one that isnt.

Ive written this code

listBox2.Items.Add(listBox1.SelectedItem);

But instead of copyin the item i get "

System.Data.DataRowView

Anyone having any advice?


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md