private DataRow GetGridRow(object obj)
        {
            DataRow row = DtSource.NewRow();

            row["ModelCode"]        = ((RealTimeInputOutputQuantity)obj).ModelCode.ToString();
            row["ItemCode"]         = ((RealTimeInputOutputQuantity)obj).ItemCode.ToString();
            row["MOCode"]           = ((RealTimeInputOutputQuantity)obj).MOCode.ToString();
            row["MOPlanqty"]        = ((RealTimeInputOutputQuantity)obj).MOPlanqty.ToString();
            row["MOShiftInputqty"]  = WebQueryHelper.GetLinkHtml(this.languageComponent1, ((RealTimeInputOutputQuantity)obj).MOShiftInputqty.ToString(), this.GetUrlParams(obj));
            row["MOInputqty"]       = ((RealTimeInputOutputQuantity)obj).MOInputqty.ToString();
            row["MOShiftOutputqty"] = WebQueryHelper.GetLinkHtml(this.languageComponent1, ((RealTimeInputOutputQuantity)obj).MOShiftOutputqty.ToString(), this.GetUrlParams(obj));
            row["MOOutputqty"]      = ((RealTimeInputOutputQuantity)obj).MOOutputqty.ToString();
            row["MOScrapqty"]       = ((RealTimeInputOutputQuantity)obj).MOScrapqty.ToString();
            row["MOOffQty"]         = ((RealTimeInputOutputQuantity)obj).MOOffQty.ToString();
            return(row);
        }
 private Infragistics.WebUI.UltraWebGrid.UltraGridRow GetGridRow(object obj)
 {
     return(new Infragistics.WebUI.UltraWebGrid.UltraGridRow(
                new object[] {
         ((RealTimeInputOutputQuantity)obj).ModelCode.ToString(),
         ((RealTimeInputOutputQuantity)obj).ItemCode.ToString(),
         ((RealTimeInputOutputQuantity)obj).MOCode.ToString(),
         ((RealTimeInputOutputQuantity)obj).MOPlanqty.ToString(),
         WebQueryHelper.GetLinkHtml(this.languageComponent1, ((RealTimeInputOutputQuantity)obj).MOShiftInputqty.ToString(), this.GetUrlParams(obj)),
         //((RealTimeInputOutputQuantity)obj).MOShiftInputqty.ToString(),
         ((RealTimeInputOutputQuantity)obj).MOInputqty.ToString(),
         WebQueryHelper.GetLinkHtml(this.languageComponent1, ((RealTimeInputOutputQuantity)obj).MOShiftOutputqty.ToString(), this.GetUrlParams(obj)),
         //((RealTimeInputOutputQuantity)obj).MOShiftOutputqty.ToString(),
         ((RealTimeInputOutputQuantity)obj).MOOutputqty.ToString(),
         ((RealTimeInputOutputQuantity)obj).MOScrapqty.ToString(),
         ((RealTimeInputOutputQuantity)obj).MOOffQty.ToString()
     }));
 }