'Column named Quantity cannot be found.

        TextBox1.Text = DataGridView1.CurrentRow.Cells("Quantity").Value.ToString
        TextBox2.Text = DataGridView1.CurrentRow.Cells("Total").Value.ToString
        TextBox3.Text = DataGridView1.CurrentRow.Cells("Price").Value.ToString
        TextBox4.Text = DataGridView1.CurrentRow.Cells("Description").Value.ToString
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.