예제 #1
0
        public Form1( )
        {
            InitializeComponent();
            openFileDialog1.InitialDirectory = "C:\\Users";
            openFileDialog1.FileName         = "";
            itemlist.Add("SaleRegister");
            itemlist.Add("Sales");
            itemlist.Add("Purchase");
            itemlist.Add("VoyBill");

            comboBox1.Items.Add(itemlist[0]);
            comboBox1.Items.Add(itemlist[1]);
            comboBox1.Items.Add(itemlist[2]);
            comboBox1.Items.Add(itemlist[3]);
            comboBox1.SelectedIndex = 0;
            ER  = new ExcelUploader();
            EDB = new ExcelToDB();
        }
예제 #2
0
 public ExcelUploader( )
 {
     DB = new ExcelToDB();
 }