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