Ejemplo n.º 1
0
 public frmMain(String accessCode)
 {
     InitializeComponent();
     this.accessCode = accessCode;
     rF       = new readFile();
     wF       = new writeFile();
     datatype = new Datatypes();
     isAlter  = 0;
     pd       = new protectDatabase("1", "1");
 }
Ejemplo n.º 2
0
 public frmFK(String db, String dt, List <String> myTableNames)
 {
     InitializeComponent();
     dbName            = db;
     tbName            = dt;
     this.myTableNames = myTableNames;
     wF          = new writeFile(dbName);
     rF          = new readFile();
     myField     = new List <Field>();
     BeforeCells = -1;
     BeforeRows  = -1;
 }
Ejemplo n.º 3
0
        public frmUpdateValues(string db, string tb)
        {
            keyHash = db;
            InitializeComponent();
            this.db       = db;
            this.tb       = tb;
            rF            = new readFile();
            dt            = new data_table();
            wF            = new writeFile();
            myField       = rF.read_File_Infor(tb, db);
            myPK_index    = getListPrimaryKey(myField);
            myContents_FK = new List <String[]>();
            datatype      = new Datatypes();
            myDatatype    = new List <String>();
            getDataType();

            isUpdate = true;
            hash     = new HashMD5(keyHash);
        }