コード例 #1
0
ファイル: pIFCalc.aspx.cs プロジェクト: wwkkww1983/yh
        private void Query()
        {
            if (Check())
            {
                DataTable tbl = GetData();
                H.DataSource = tbl;
                H.Bind();

                H2.DataSource = this.DeviceFormulaCollectionMap.FormulaCollection;
                H2.Bind();

                if (this.DeviceFormulaCollectionMap.FormulaCollection.Count > 0)
                {
                    this.panelFormula.Visible   = true;
                    this.panelNoFormula.Visible = false;
                }
                else
                {
                    this.panelFormula.Visible   = false;
                    this.panelNoFormula.Visible = true;
                }
            }
        }