예제 #1
0
 public TabularDataNewTableFrame(GenericTabularDataStore obj)
 {
     InitializeComponent();
     m_obj            = obj;
     tbxDatabase.Text = String.Format("{0} ({1})", obj.dbname, obj.Connection);
     tableFromTabularDataFrame1.SetDatabase(obj.Connection.PhysicalFactory.CreateDatabaseSource(obj.Connection, obj.dbname));
 }
예제 #2
0
        public ITabularDataStore GetDataStore()
        {
            var res = new GenericTabularDataStore(m_db.Connection.Clone(), m_db.DatabaseName, m_name.Schema, m_name.Name);

            res.create_table = true;
            return(res);
        }
예제 #3
0
        public void NewTableFromFile()
        {
            var dst = new GenericTabularDataStore(GetConnection().Clone(), m_conn.DatabaseName, null, null);

            dst.create_table = true;
            var wizard = new BulkCopyWizard(null, dst);

            wizard.FixedTarget = true;
            wizard.ShowDialogEx();
        }