Example #1
0
        protected Infragistics.WebUI.UltraWebGrid.UltraGridRow GetGridRowSN(object obj)
        {
            OQCDimention oqc = obj as OQCDimention;

            return(new Infragistics.WebUI.UltraWebGrid.UltraGridRow(
                       new object[] {
                oqc.RunningCard,
                oqc.RunningCardSequence,
                oqc.StepSequenceCode,
                oqc.ResourceCode,
                oqc.TestResult,
                FormatHelper.ToDateString(oqc.TestDate),
                FormatHelper.ToTimeString(oqc.TestTime),
                oqc.TestUser,
                "",
            }


                       ));
        }
Example #2
0
        private void GetGridRowSN(object sender, EventArgs e)
        //protected Infragistics.WebUI.UltraWebGrid.UltraGridRow GetGridRowSN(object obj)
        {
            //OQCDimention oqc = obj as OQCDimention;

            if ((e as DomainObjectToGridRowEventArgs).DomainObject != null)
            {
                OQCDimention oqc = (e as DomainObjectToGridRowEventArgs).DomainObject as OQCDimention;
                (e as DomainObjectToGridRowEventArgs).GridRow = new Infragistics.WebUI.UltraWebGrid.UltraGridRow(
                    new object[] {
                    oqc.RunningCard,
                    oqc.RunningCardSequence,
                    oqc.StepSequenceCode,
                    oqc.ResourceCode,
                    oqc.TestResult,
                    FormatHelper.ToDateString(oqc.TestDate),
                    FormatHelper.ToTimeString(oqc.TestTime),
                    oqc.TestUser,
                    "",
                    oqc.LOTNO,
                    oqc.LotSequence,
                });
            }
        }