Ejemplo n.º 1
0
        /// <summary>
        /// 采样记录
        /// </summary>
        private void Bind_KY_CYJ_P_RECORD()
        {
            DataTable dt = equDber.ExecuteDataTable("select * from KY_CYJ_P_RECORD where [BEGIN_DATE]>='" + dtInputStart.Value + "' and [BEGIN_DATE]<='" + dtInputEnd.Value + "' order by [BEGIN_DATE] desc");

            SGC_KY_CYJ_P_RECORD.PrimaryGrid.DataSource = dt;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 制样报警
        /// </summary>
        private void Bind_ZY_Record_Tb()
        {
            DataTable dt = equDber.ExecuteDataTable("select * from ZY_Record_Tb where [StartTime]>='" + dtInputStart.Value + "' and [StartTime]<='" + dtInputEnd.Value + "' order by [StartTime] desc");

            SGC_ZY_Record_Tb.PrimaryGrid.DataSource = dt;
        }