Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            OrdersDAL sqlbase;

            sqlbase = new OrdersDAL();
            sqlbase.OpenConnection(ConfigurationManager.ConnectionStrings[
                                       "Vmax44Parser.Properties.Settings.vmax44parserConnectionString"].ToString());
            int orderid = sqlbase.LookUpOrderId(comboBox1.SelectedItem.ToString());

            sqlbase.InsertParsedDataCollection(orderid, dataBase);

            sqlbase.CloseConnection();
        }