a guest Jun 15th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void Load_Click(object sender, EventArgs e)
  2.              {  
  3.                 con.Open();
  4.                 read = new SqlDataAdapter("Select * from  Vehicles",con);
  5.                 read.Fill(display);
  6.                 vehicleListBox.DataSource = display;
  7.                 vehiclecListBox.DisplayMember = "Vehicle_Name";
  8.                 con.Close();'
  9.              }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand