SHARE
TWEET

Untitled

a guest Jun 15th, 2019 62 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.  
  5.     read = new SqlDataAdapter("Select * from  Vehicles",con);
  6.     read.Fill(display);
  7.  
  8.     vehicleListBox.DataSource = display;
  9.     vehiclecListBox.DisplayMember = "Vehicle_Name";
  10.  
  11.     con.Close();
  12. }
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
 
Top