示例#1
0
        public void SetupPage()
        {
            this.txtServerName2.Text   = CfcWebService.SqlServerName;
            this.txtDatabaseName2.Text = CfcWebService.DatabaseName;
            CfcDbChangesDbo dbo = CfcWebService.GetFirstCfcDbChanges();

            txtMajorDbVersion2.Text = Math.Max((short)1, dbo.CFC_DB_Major_Version).ToString();
            txtMinorDbVersion2.Text = dbo.CFC_DB_Minor_Version.ToString();
            txtTable2.Text          = dbo.Table_Name;
        }
        public void SetupPage()
        {
            this.txtServerName4.Text      = CfcWebService.SqlServerName;
            this.txtDatabaseName4.Text    = currentDatabase = CfcWebService.DatabaseName;
            this.lstTableList4.DataSource = tableList = CfcWebService.GetAllTables();
            this.lblErrorMessage4.Text    = String.Empty;
            this.lstTableList4.DataBind();
            CfcDbChangesDbo dbo = CfcWebService.GetFirstCfcDbChanges();

            txtMajorDbVersion4.Text = Math.Max((short)1, dbo.CFC_DB_Major_Version).ToString();
            txtMinorDbVersion4.Text = dbo.CFC_DB_Minor_Version.ToString();
        }