public Form1() { InitializeComponent(); add = new data(); connection.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=pictures.accdb;Persist Security Info=False;"; }
public void get_values_of_variables() { picname = textBox1.Text; descriptionpic = textBox2.Text; data = new data(picname, descriptionpic); }