im trying delete an item on a listbox but when I press the button to delete it the first line of the code in the private void listBox1_SelectedIndexChanged(object sender, EventArgs e) gets an error.
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{
textBox1.Text = listBox1.SelectedItem.ToString();
}
here is the error Object reference not set to an instance of an object.
@YYY
, I don't see that you've replied. – tmesser