String to date conversion error

User890904483 posted
  • Remove From My Forums
  • Question

  • User890904483 posted

    this is my content…

    who can help me o?

    i really troube on this problem very long time ago…

    thanks for all of your help…

    Server Error in ‘/SMS’ Application.


    Conversion from string «» to type ‘Date’ is not valid.

    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidCastException: Conversion from string «» to type ‘Date’ is not valid.

    Source Error:

    Line 585:
    Line 586:                strFiscal = GetFiscalInfo("DATE")
    Line 587:                dtFromDate.Value = Format$(CDate(strFiscal), "dd-MMM-yyyy")
    Line 588:                cboShift.SelectedValue = ""
    Line 589:            Case "Daily"



    Source File: D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb    Line:
    587

    Stack Trace:

    [InvalidCastException: Conversion from string "" to type 'Date' is not valid.]
       Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value) +222
       Yield_smsRpt_Oper_Yield_Hour.DurationControl(String selectionType) in D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb:587
       Yield_smsRpt_Oper_Yield_Hour.ResetControls() in D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb:413
       Yield_smsRpt_Oper_Yield_Hour.InitialControlBind() in D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb:711
       Yield_smsRpt_Oper_Yield_Hour.Page_Load(Object sender, EventArgs e) in D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb:26
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
    <!— [InvalidCastException]: Conversion from string «» to type ‘Date’ is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value) at Yield_smsRpt_Oper_Yield_Hour.DurationControl(String selectionType) in D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb:line
    587 at Yield_smsRpt_Oper_Yield_Hour.ResetControls() in D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb:line 413 at Yield_smsRpt_Oper_Yield_Hour.InitialControlBind() in D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb:line 711 at Yield_smsRpt_Oper_Yield_Hour.Page_Load(Object
    sender, EventArgs e) in D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb:line 26 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
    includeStagesAfterAsyncPoint) [HttpUnhandledException]: Exception of type ‘System.Web.HttpUnhandledException’ was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
    includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at
    System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.yield_smsrpt_oper_yield_hour_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean& completedSynchronously) —>

Answers

  • User-1443539674 posted

     Repleace

    dtFromDate.Value = Format$(CDate(strFiscal), "dd-MMM-yyyy")
    with 
     
    dtFromDate.Value = !string.IsNullOrEmpty(strFiscal) ? Format$(CDate(strFiscal), "dd-MMM-yyyy") : DateTime.MinValue
    

      

    • Marked as answer by

      Thursday, October 7, 2021 12:00 AM

  • User854688209 posted

    Stack treace error is tellign that you are trying to convert «» to Date, you can’t convert empty string in Date.

    Try this: 

    strFiscal = GetFiscalInfo(«DATE»)
    IF strFiscal.Trim().Length != 0 THEN
        dtFromDate.Value = Format$(CDate(strFiscal), «dd-MMM-yyyy»)

    ENDIF

    i already try yours way…

    this is the page show..

    Server Error in ‘/SMS’ Application.


    Compilation Error

    Description:
    An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: BC30203: Identifier expected.

    Source Error:

    Line 585:
    Line 586:                strFiscal = GetFiscalInfo("DATE")
    Line 587:                IF strFiscal.Trim().Length != 0 THEN
    Line 588:                    dtFromDate.Value = Format$(CDate(strFiscal), "dd-MMM-yyyy")
    Line 589:                End If

    Source File: D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb   
    Line: 587

    Show Detailed Compiler Output:

    C:WINDOWSsystem32> "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727vbc.exe" /t:library /utf8output /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020assemblydl3ad43826b0c57f0f_8ae4c701smsCommon.Utils.v1.DLL" /R:"C:WINDOWSassemblyGAC_MSILSystem.Design2.0.0.0__b03f5f7f11d50a3aSystem.Design.dll" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Code.qwsddszg.dll" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020assemblydl388c47b020bef270_f95bc801pmBaselib.NET.2008.DLL" /R:"C:WINDOWSassemblyGAC_MSILSystem.DirectoryServices2.0.0.0__b03f5f7f11d50a3aSystem.DirectoryServices.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Runtime.Serialization.Formatters.Soap2.0.0.0__b03f5f7f11d50a3aSystem.Runtime.Serialization.Formatters.Soap.dll" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.WebDateChooser.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.WebDateChooser.v7.3.dll" /R:"C:WINDOWSassemblyGAC_32System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.WebCombo.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.WebCombo.v7.3.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.Excel.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.Excel.v7.3.dll" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.Shared.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.Shared.v7.3.dll" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.UltraWebGrid.ExcelExport.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.UltraWebGrid.ExcelExport.v7.3.dll" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020assemblydl32fce9ecc0380c77_5278c801SMSTCP2008.DLL" /R:"C:WINDOWSassemblyGAC_MSILSystem.Windows.Forms2.0.0.0__b77a5c561934e089System.Windows.Forms.dll" /R:"C:WINDOWSassemblyGAC_32System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020assemblydl3e18a0a65080d0e1_78a3c801App_Licenses.DLL" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.UltraWebChart.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.UltraWebChart.v7.3.dll" /R:"C:WINDOWSassemblyGAC_32System.Data.OracleClient2.0.0.0__b77a5c561934e089System.Data.OracleClient.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Web.Mobile2.0.0.0__b03f5f7f11d50a3aSystem.Web.Mobile.dll" /R:"C:WINDOWSassemblyGAC_32System.Data2.0.0.0__b77a5c561934e089System.Data.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020assemblydl3482fd00f06ca6a3_9a8dc501pmServer.NET.2006.DLL" /R:"C:WINDOWSassemblyGAC_MSILSystem.Web.Services2.0.0.0__b03f5f7f11d50a3aSystem.Web.Services.dll" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.Misc.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.Misc.v7.3.dll" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020assemblydl3193cb67b0970fac_dcf6c801webControl.CustomI2007.v3.DLL" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.UltraWebGrid.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.UltraWebGrid.v7.3.dll" /R:"C:WINDOWSassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.WebSchedule.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.WebSchedule.v7.3.dll" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020assemblydl38b7e4fe208cfb5c_fa5bc801pmPPlib.NET.2008.DLL" /R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020assemblydl34d1bdeef06862c0_349ac701pmMessager.NET.2006.DLL" /R:"C:WINDOWSassemblyGAC_MSILInfragistics2.WebUI.WebDataInput.v7.37.3.20073.38__7dd5c3163f2cd0cbInfragistics2.WebUI.WebDataInput.v7.3.dll" /out:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.dll" /D:DEBUG=1 /debug+ /win32resource:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020ggkaxiwy.res" /define:_MYTYPE="Web" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls  "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.5.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.6.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.7.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.11.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.8.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.9.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.10.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.12.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.0.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.1.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.2.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.3.vb" "C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filessms8e7e4a8426416020App_Web_ggkaxiwy.4.vb"
    
    
    Microsoft (R) Visual Basic Compiler version 8.0.50727.832
    for Microsoft (R) .NET Framework version 2.0.50727.832
    Copyright (c) Microsoft Corporation.  All rights reserved.
    
    D:SMSSourceFrameHeader.aspx(25) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_Title(strTitle)
                         ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(25) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_Title(strTitle)
                         ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(25) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_Title(strTitle)
                         ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(25) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_Title(strTitle)
                         ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(25) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_Title(strTitle)
                         ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(25) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_Title(strTitle)
                         ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(35) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_SubTitle(strTitle)
                            ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(35) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_SubTitle(strTitle)
                            ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(35) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_SubTitle(strTitle)
                            ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(35) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_SubTitle(strTitle)
                            ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(35) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_SubTitle(strTitle)
                            ~~~~~~~~ 
    D:SMSSourceFrameHeader.aspx(35) : warning BC42020: Variable declaration without an 'As' clause; type of Object assumed.
    
        Sub Header_SubTitle(strTitle)
                            ~~~~~~~~ 
    D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb(587) : error BC30203: Identifier expected.
    
                    IF strFiscal.Trim().Length != 0 THEN
                                                ~       
    D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb(603) : error BC30203: Identifier expected.
    
                    IF strFiscal.Trim().Length != 0 THEN
                                                ~       
    D:SMSSourceYieldsmsRpt_ReworkPareto.aspx.vb(794) : warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
    
            Select Case Session("Rework_ReportTypeRoot")
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    D:SMSSourceYieldsmsRpt_ReworkPareto.aspx.vb(794) : warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
    
            Select Case Session("Rework_ReportTypeRoot")
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    D:SMSSourceYieldsmsRpt_ReworkPareto.aspx.vb(794) : warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
    
            Select Case Session("Rework_ReportTypeRoot")
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    D:SMSSourceYieldsmsRpt_ReworkPareto.aspx.vb(794) : warning BC42036: Operands of type Object used in expressions for 'Select', 'Case' statements; runtime errors could occur.
    
            Select Case Session("Rework_ReportTypeRoot")
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

    Show Complete Compilation Source:

    Line 1:    #ExternalChecksum("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx","{406ea660-64cf-4c82-b6f0-42d48172a799}","91C7AD8542A82421F55751DDEF23220B")
    Line 2:    '------------------------------------------------------------------------------
    Line 3:    ' <auto-generated>
    Line 4:    '     This code was generated by a tool.
    Line 5:    '     Runtime Version:2.0.50727.832
    Line 6:    '
    Line 7:    '     Changes to this file may cause incorrect behavior and will be lost if
    Line 8:    '     the code is regenerated.
    Line 9:    ' </auto-generated>
    Line 10:   '------------------------------------------------------------------------------
    Line 11:   
    Line 12:   Option Strict Off
    Line 13:   Option Explicit On
    Line 14:   
    Line 15:   Imports Infragistics.WebUI.Misc
    Line 16:   Imports Infragistics.WebUI.UltraWebGrid
    Line 17:   Imports Infragistics.WebUI.UltraWebGrid.ExcelExport
    Line 18:   Imports Infragistics.WebUI.WebDataInput
    Line 19:   Imports Infragistics.WebUI.WebSchedule
    Line 20:   Imports Microsoft.VisualBasic
    Line 21:   Imports System
    Line 22:   Imports System.Collections
    Line 23:   Imports System.Collections.Specialized
    Line 24:   Imports System.Configuration
    Line 25:   Imports System.Text
    Line 26:   Imports System.Text.RegularExpressions
    Line 27:   Imports System.Web
    Line 28:   Imports System.Web.Caching
    Line 29:   Imports System.Web.Profile
    Line 30:   Imports System.Web.Security
    Line 31:   Imports System.Web.SessionState
    Line 32:   Imports System.Web.UI
    Line 33:   Imports System.Web.UI.HtmlControls
    Line 34:   Imports System.Web.UI.WebControls
    Line 35:   Imports System.Web.UI.WebControls.WebParts
    Line 36:   
    Line 37:   
    Line 38:   Partial Public Class Yield_smsRpt_Oper_Yield_Hour
    Line 39:       Implements System.Web.SessionState.IRequiresSessionState
    Line 40:       
    Line 41:       
    Line 42:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",28)
    Line 43:       Protected WithEvents lblErrorMsg As Global.System.Web.UI.WebControls.Label
    Line 44:       
    Line 45:       #End ExternalSource
    Line 46:       
    Line 47:       
    Line 48:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",33)
    Line 49:       Protected WithEvents lblDurationFrom As Global.System.Web.UI.WebControls.Label
    Line 50:       
    Line 51:       #End ExternalSource
    Line 52:       
    Line 53:       
    Line 54:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",34)
    Line 55:       Protected WithEvents lblDurationTo As Global.System.Web.UI.WebControls.Label
    Line 56:       
    Line 57:       #End ExternalSource
    Line 58:       
    Line 59:       
    Line 60:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",39)
    Line 61:       Protected WithEvents cboDuration As Global.System.Web.UI.WebControls.DropDownList
    Line 62:       
    Line 63:       #End ExternalSource
    Line 64:       
    Line 65:       
    Line 66:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",42)
    Line 67:       Protected WithEvents dtFromDate As Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 68:       
    Line 69:       #End ExternalSource
    Line 70:       
    Line 71:       
    Line 72:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 73:       Protected WithEvents txtFromDuration As Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 74:       
    Line 75:       #End ExternalSource
    Line 76:       
    Line 77:       
    Line 78:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",47)
    Line 79:       Protected WithEvents dtToDate As Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 80:       
    Line 81:       #End ExternalSource
    Line 82:       
    Line 83:       
    Line 84:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 85:       Protected WithEvents txtToDuration As Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 86:       
    Line 87:       #End ExternalSource
    Line 88:       
    Line 89:       
    Line 90:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",50)
    Line 91:       Protected WithEvents cboShift As Global.System.Web.UI.WebControls.DropDownList
    Line 92:       
    Line 93:       #End ExternalSource
    Line 94:       
    Line 95:       
    Line 96:       #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",54)
    Line 97:       Protected WithEvents chkHour As Global.System.Web.UI.WebControls.CheckBoxList
    Line 98:       
    Line 99:       #End ExternalSource
    Line 100:      
    Line 101:      
    Line 102:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 103:      Protected WithEvents panelHour As Global.System.Web.UI.WebControls.Panel
    Line 104:      
    Line 105:      #End ExternalSource
    Line 106:      
    Line 107:      
    Line 108:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",63)
    Line 109:      Protected WithEvents cboSiteCode As Global.System.Web.UI.WebControls.DropDownList
    Line 110:      
    Line 111:      #End ExternalSource
    Line 112:      
    Line 113:      
    Line 114:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 115:      Protected WithEvents optSelection_Line As Global.System.Web.UI.WebControls.RadioButton
    Line 116:      
    Line 117:      #End ExternalSource
    Line 118:      
    Line 119:      
    Line 120:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",71)
    Line 121:      Protected WithEvents optSelection_SBR As Global.System.Web.UI.WebControls.RadioButton
    Line 122:      
    Line 123:      #End ExternalSource
    Line 124:      
    Line 125:      
    Line 126:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",76)
    Line 127:      Protected WithEvents td_Line As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 128:      
    Line 129:      #End ExternalSource
    Line 130:      
    Line 131:      
    Line 132:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",77)
    Line 133:      Protected WithEvents td_SBR As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 134:      
    Line 135:      #End ExternalSource
    Line 136:      
    Line 137:      
    Line 138:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 139:      Protected WithEvents optProdCategory As Global.System.Web.UI.WebControls.RadioButton
    Line 140:      
    Line 141:      #End ExternalSource
    Line 142:      
    Line 143:      
    Line 144:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",81)
    Line 145:      Protected WithEvents optProdFamily As Global.System.Web.UI.WebControls.RadioButton
    Line 146:      
    Line 147:      #End ExternalSource
    Line 148:      
    Line 149:      
    Line 150:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",82)
    Line 151:      Protected WithEvents optProdModel As Global.System.Web.UI.WebControls.RadioButton
    Line 152:      
    Line 153:      #End ExternalSource
    Line 154:      
    Line 155:      
    Line 156:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",91)
    Line 157:      Protected WithEvents chkLine As Global.System.Web.UI.WebControls.CheckBoxList
    Line 158:      
    Line 159:      #End ExternalSource
    Line 160:      
    Line 161:      
    Line 162:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 163:      Protected WithEvents PanelLine As Global.System.Web.UI.WebControls.Panel
    Line 164:      
    Line 165:      #End ExternalSource
    Line 166:      
    Line 167:      
    Line 168:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",87)
    Line 169:      Protected WithEvents td_LineValue As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 170:      
    Line 171:      #End ExternalSource
    Line 172:      
    Line 173:      
    Line 174:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",95)
    Line 175:      Protected WithEvents txtSBR As Global.System.Web.UI.WebControls.TextBox
    Line 176:      
    Line 177:      #End ExternalSource
    Line 178:      
    Line 179:      
    Line 180:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 181:      Protected WithEvents td_SBRValue As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 182:      
    Line 183:      #End ExternalSource
    Line 184:      
    Line 185:      
    Line 186:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",97)
    Line 187:      Protected WithEvents cboAssyType As Global.System.Web.UI.WebControls.DropDownList
    Line 188:      
    Line 189:      #End ExternalSource
    Line 190:      
    Line 191:      
    Line 192:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",98)
    Line 193:      Protected WithEvents cboProduct As Global.System.Web.UI.WebControls.DropDownList
    Line 194:      
    Line 195:      #End ExternalSource
    Line 196:      
    Line 197:      
    Line 198:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",99)
    Line 199:      Protected WithEvents cboOperation As Global.System.Web.UI.WebControls.DropDownList
    Line 200:      
    Line 201:      #End ExternalSource
    Line 202:      
    Line 203:      
    Line 204:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",106)
    Line 205:      Protected WithEvents cboMajor As Global.System.Web.UI.WebControls.DropDownList
    Line 206:      
    Line 207:      #End ExternalSource
    Line 208:      
    Line 209:      
    Line 210:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",107)
    Line 211:      Protected WithEvents cboMinor As Global.System.Web.UI.WebControls.DropDownList
    Line 212:      
    Line 213:      #End ExternalSource
    Line 214:      
    Line 215:      
    Line 216:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 217:      Protected WithEvents cmdView As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 218:      
    Line 219:      #End ExternalSource
    Line 220:      
    Line 221:      
    Line 222:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 223:      Protected WithEvents cmdClear As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 224:      
    Line 225:      #End ExternalSource
    Line 226:      
    Line 227:      
    Line 228:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 229:      Protected WithEvents wpCriteria As Global.Infragistics.WebUI.Misc.WebPanel
    Line 230:      
    Line 231:      #End ExternalSource
    Line 232:      
    Line 233:      
    Line 234:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",142)
    Line 235:      Protected WithEvents objExcel As Global.Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter
    Line 236:      
    Line 237:      #End ExternalSource
    Line 238:      
    Line 239:      
    Line 240:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 241:      Protected WithEvents cmdExcel As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 242:      
    Line 243:      #End ExternalSource
    Line 244:      
    Line 245:      
    Line 246:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 247:      Protected WithEvents dgResult As Global.Infragistics.WebUI.UltraWebGrid.UltraWebGrid
    Line 248:      
    Line 249:      #End ExternalSource
    Line 250:      
    Line 251:      
    Line 252:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 253:      Protected WithEvents wpResult As Global.Infragistics.WebUI.Misc.WebPanel
    Line 254:      
    Line 255:      #End ExternalSource
    Line 256:      
    Line 257:      
    Line 258:      #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",15)
    Line 259:      Protected WithEvents frmOperYieldHour As Global.System.Web.UI.HtmlControls.HtmlForm
    Line 260:      
    Line 261:      #End ExternalSource
    Line 262:      
    Line 263:      Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile
    Line 264:          Get
    Line 265:              Return CType(Me.Context.Profile,System.Web.Profile.DefaultProfile)
    Line 266:          End Get
    Line 267:      End Property
    Line 268:      
    Line 269:      Protected ReadOnly Property ApplicationInstance() As System.Web.HttpApplication
    Line 270:          Get
    Line 271:              Return CType(Me.Context.ApplicationInstance,System.Web.HttpApplication)
    Line 272:          End Get
    Line 273:      End Property
    Line 274:  End Class
    Line 275:  
    Line 276:  Namespace ASP
    Line 277:      
    Line 278:      <System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()>  _
    Line 279:      Public Class yield_smsrpt_oper_yield_hour_aspx
    Line 280:          Inherits Global.Yield_smsRpt_Oper_Yield_Hour
    Line 281:          Implements System.Web.IHttpHandler
    Line 282:          
    Line 283:          Private Shared __initialized As Boolean
    Line 284:          
    Line 285:          Private Shared __stringResource As Object
    Line 286:          
    Line 287:          Private Shared __fileDependencies As Object
    Line 288:          
    Line 289:          
    Line 290:          #ExternalSource("D:SMSSourceFrameHeader.aspx",12)
    Line 291:                                              
    Line 292:  	'Banner image
    Line 293:  	Sub Header_Banner()
    Line 294:  				Response.Write ("<img align='center' src='../Images/smsHeader.jpg' style='; left:-10px; top:-5px; z-index:1;'>")		
    Line 295:  	End Sub
    Line 296:  	
    Line 297:  	'Sign Out & UserName
    Line 298:  	Sub Header_SignOutName()
    Line 299:  	    Response.Write ("<DIV align='right' id='lyrHome' style='; cursor:hand; left:670px; top:10px;  height:23px; z-index:2;' onclick=""Page_Redirect('../MainMenu.aspx');"">" & _
    Line 300:  							"<img src='../Images/sms_Home.gif' border=0 height='30' width='30' alt='Home'>" & _
    Line 301:  						"</DIV>")					
    Line 302:  	End Sub
    Line 303:  	
    Line 304:  	Sub Header_Title(strTitle)
    Line 305:  	     Response.Write("<table cellpadding='0' cellspacing='0' width='100%'>" & _
    Line 306:               "<tr>" & _
    Line 307:                "<td style='HEIGHT: 35px' background='../Images/smsTitleBar.jpg' colSpan='2'>" & _
    Line 308:                 "<font color='#1b5aa1' size='4'>&nbsp;" & strTitle & "</font>" & _
    Line 309:                "</td>" & _
    Line 310:               "</tr>" & _
    Line 311:              "</table>")
    Line 312:  	End Sub
    Line 313:  	
    Line 314:  	Sub Header_SubTitle(strTitle)
    Line 315:  	    Response.Write("<table cellpadding='0' cellspacing='0' class='Header'>" & _
    Line 316:  			"<tr>" & _
    Line 317:  				"<td style='HEIGHT: 20px' background='../Images/smsGrayExplorer.gif'>" & _
    Line 318:  					"<font color='#3399cc' size='2'><b>&nbsp;" & strTitle & "</b></font>" & _
    Line 319:  				"</td>" & _
    Line 320:  			"</tr>" & _
    Line 321:  		"</table>")
    Line 322:  	End Sub
    Line 323:  		
    Line 324:  	'Footer
    Line 325:  	Sub GetFooter()
    Line 326:  		Response.Write ("<hr align='left'>" & _
    Line 327:  					   "<table width='550px'>" & _
    Line 328:  					   "<tr><td>" & _
    Line 329:  							"<font size=1 color=gray>Pentamaster SMS, Copyright 2003. Version 8.10.17.1</font>" & _
    Line 330:  					   "</td></tr>" & _
    Line 331:  					   "</table>")
    Line 332:  	End Sub
    Line 333:  	
    Line 334:  	
    Line 335:          #End ExternalSource
    Line 336:          
    Line 337:          
    Line 338:          Public Sub New()
    Line 339:              MyBase.New
    Line 340:              Dim dependencies() As String
    Line 341:              
    Line 342:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb",912304)
    Line 343:              CType(Me,System.Web.UI.Page).AppRelativeVirtualPath = "~/Yield/smsRpt_Oper_Yield_Hour.aspx"
    Line 344:              
    Line 345:              #End ExternalSource
    Line 346:              If (Global.ASP.yield_smsrpt_oper_yield_hour_aspx.__initialized = false) Then
    Line 347:                  Global.ASP.yield_smsrpt_oper_yield_hour_aspx.__stringResource = Me.ReadStringResource
    Line 348:                  dependencies = New String(2) {}
    Line 349:                  dependencies(0) = "~/Yield/smsRpt_Oper_Yield_Hour.aspx"
    Line 350:                  dependencies(1) = "~/Yield/smsRpt_Oper_Yield_Hour.aspx.vb"
    Line 351:                  dependencies(2) = "~/Frame/Header.aspx"
    Line 352:                  Global.ASP.yield_smsrpt_oper_yield_hour_aspx.__fileDependencies = Me.GetWrappedFileDependencies(dependencies)
    Line 353:                  Global.ASP.yield_smsrpt_oper_yield_hour_aspx.__initialized = true
    Line 354:              End If
    Line 355:              Me.Server.ScriptTimeout = 30000000
    Line 356:          End Sub
    Line 357:          
    Line 358:          Protected Overrides ReadOnly Property SupportAutoEvents() As Boolean
    Line 359:              Get
    Line 360:                  Return false
    Line 361:              End Get
    Line 362:          End Property
    Line 363:          
    Line 364:          Private Function __BuildControl__control3() As Global.System.Web.UI.HtmlControls.HtmlTitle
    Line 365:              Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlTitle
    Line 366:              
    Line 367:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",7)
    Line 368:              __ctrl = New Global.System.Web.UI.HtmlControls.HtmlTitle
    Line 369:              
    Line 370:              #End ExternalSource
    Line 371:              Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 372:              
    Line 373:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",7)
    Line 374:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("SMS - Operational Yield (Hour)"))
    Line 375:              
    Line 376:              #End ExternalSource
    Line 377:              Return __ctrl
    Line 378:          End Function
    Line 379:          
    Line 380:          Private Function __BuildControl__control4() As Global.System.Web.UI.HtmlControls.HtmlLink
    Line 381:              Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlLink
    Line 382:              
    Line 383:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",8)
    Line 384:              __ctrl = New Global.System.Web.UI.HtmlControls.HtmlLink
    Line 385:              
    Line 386:              #End ExternalSource
    Line 387:              
    Line 388:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",8)
    Line 389:              __ctrl.Href = "../Css/pop_style.css"
    Line 390:              
    Line 391:              #End ExternalSource
    Line 392:              
    Line 393:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",8)
    Line 394:              CType(__ctrl,System.Web.UI.IAttributeAccessor).SetAttribute("type", "text/css")
    Line 395:              
    Line 396:              #End ExternalSource
    Line 397:              
    Line 398:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",8)
    Line 399:              CType(__ctrl,System.Web.UI.IAttributeAccessor).SetAttribute("rel", "stylesheet")
    Line 400:              
    Line 401:              #End ExternalSource
    Line 402:              Return __ctrl
    Line 403:          End Function
    Line 404:          
    Line 405:          Private Function __BuildControl__control5() As Global.System.Web.UI.HtmlControls.HtmlLink
    Line 406:              Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlLink
    Line 407:              
    Line 408:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 409:              __ctrl = New Global.System.Web.UI.HtmlControls.HtmlLink
    Line 410:              
    Line 411:              #End ExternalSource
    Line 412:              
    Line 413:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 414:              __ctrl.Href = "../Css/Styles.css"
    Line 415:              
    Line 416:              #End ExternalSource
    Line 417:              
    Line 418:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 419:              CType(__ctrl,System.Web.UI.IAttributeAccessor).SetAttribute("type", "text/css")
    Line 420:              
    Line 421:              #End ExternalSource
    Line 422:              
    Line 423:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 424:              CType(__ctrl,System.Web.UI.IAttributeAccessor).SetAttribute("rel", "stylesheet")
    Line 425:              
    Line 426:              #End ExternalSource
    Line 427:              Return __ctrl
    Line 428:          End Function
    Line 429:          
    Line 430:          Private Function __BuildControl__control2() As Global.System.Web.UI.HtmlControls.HtmlHead
    Line 431:              Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlHead
    Line 432:              
    Line 433:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 434:              __ctrl = New Global.System.Web.UI.HtmlControls.HtmlHead("head")
    Line 435:              
    Line 436:              #End ExternalSource
    Line 437:              Dim __ctrl1 As Global.System.Web.UI.HtmlControls.HtmlTitle
    Line 438:              
    Line 439:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 440:              __ctrl1 = Me.__BuildControl__control3
    Line 441:              
    Line 442:              #End ExternalSource
    Line 443:              Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 444:              
    Line 445:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 446:              __parser.AddParsedSubObject(__ctrl1)
    Line 447:              
    Line 448:              #End ExternalSource
    Line 449:              Dim __ctrl2 As Global.System.Web.UI.HtmlControls.HtmlLink
    Line 450:              
    Line 451:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 452:              __ctrl2 = Me.__BuildControl__control4
    Line 453:              
    Line 454:              #End ExternalSource
    Line 455:              
    Line 456:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 457:              __parser.AddParsedSubObject(__ctrl2)
    Line 458:              
    Line 459:              #End ExternalSource
    Line 460:              Dim __ctrl3 As Global.System.Web.UI.HtmlControls.HtmlLink
    Line 461:              
    Line 462:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 463:              __ctrl3 = Me.__BuildControl__control5
    Line 464:              
    Line 465:              #End ExternalSource
    Line 466:              
    Line 467:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 468:              __parser.AddParsedSubObject(__ctrl3)
    Line 469:              
    Line 470:              #End ExternalSource
    Line 471:              
    Line 472:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 473:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    <SCRIPT LANGUAGE=javascript>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    <!--"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    //Redirect to the required page"& _ 
    Line 474:                          ""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    function Page_Redirect(url){"&Global.Microsoft.VisualBasic.ChrW(9)&"    "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&"    window.parent(2).navigate(url);"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)& _ 
    Line 475:                          "    return;"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    }"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    //-->"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    </SCRIPT>  "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)))
    Line 476:              
    Line 477:              #End ExternalSource
    Line 478:              
    Line 479:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",6)
    Line 480:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&"<html><body></body></html>"))
    Line 481:              
    Line 482:              #End ExternalSource
    Line 483:              Return __ctrl
    Line 484:          End Function
    Line 485:          
    Line 486:          Private Function __BuildControllblErrorMsg() As Global.System.Web.UI.WebControls.Label
    Line 487:              Dim __ctrl As Global.System.Web.UI.WebControls.Label
    Line 488:              
    Line 489:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",28)
    Line 490:              __ctrl = New Global.System.Web.UI.WebControls.Label
    Line 491:              
    Line 492:              #End ExternalSource
    Line 493:              Me.lblErrorMsg = __ctrl
    Line 494:              __ctrl.TemplateControl = Me
    Line 495:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 496:              
    Line 497:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",28)
    Line 498:              __ctrl.ID = "lblErrorMsg"
    Line 499:              
    Line 500:              #End ExternalSource
    Line 501:              
    Line 502:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",28)
    Line 503:              __ctrl.CssClass = "StdLabelMsg"
    Line 504:              
    Line 505:              #End ExternalSource
    Line 506:              Return __ctrl
    Line 507:          End Function
    Line 508:          
    Line 509:          Private Function __BuildControllblDurationFrom() As Global.System.Web.UI.WebControls.Label
    Line 510:              Dim __ctrl As Global.System.Web.UI.WebControls.Label
    Line 511:              
    Line 512:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",33)
    Line 513:              __ctrl = New Global.System.Web.UI.WebControls.Label
    Line 514:              
    Line 515:              #End ExternalSource
    Line 516:              Me.lblDurationFrom = __ctrl
    Line 517:              __ctrl.TemplateControl = Me
    Line 518:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 519:              
    Line 520:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",33)
    Line 521:              __ctrl.ID = "lblDurationFrom"
    Line 522:              
    Line 523:              #End ExternalSource
    Line 524:              
    Line 525:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",33)
    Line 526:              __ctrl.CssClass = "StdText"
    Line 527:              
    Line 528:              #End ExternalSource
    Line 529:              Return __ctrl
    Line 530:          End Function
    Line 531:          
    Line 532:          Private Function __BuildControllblDurationTo() As Global.System.Web.UI.WebControls.Label
    Line 533:              Dim __ctrl As Global.System.Web.UI.WebControls.Label
    Line 534:              
    Line 535:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",34)
    Line 536:              __ctrl = New Global.System.Web.UI.WebControls.Label
    Line 537:              
    Line 538:              #End ExternalSource
    Line 539:              Me.lblDurationTo = __ctrl
    Line 540:              __ctrl.TemplateControl = Me
    Line 541:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 542:              
    Line 543:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",34)
    Line 544:              __ctrl.ID = "lblDurationTo"
    Line 545:              
    Line 546:              #End ExternalSource
    Line 547:              
    Line 548:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",34)
    Line 549:              __ctrl.CssClass = "StdText"
    Line 550:              
    Line 551:              #End ExternalSource
    Line 552:              Return __ctrl
    Line 553:          End Function
    Line 554:          
    Line 555:          Private Function __BuildControlcboDuration() As Global.System.Web.UI.WebControls.DropDownList
    Line 556:              Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
    Line 557:              
    Line 558:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",39)
    Line 559:              __ctrl = New Global.System.Web.UI.WebControls.DropDownList
    Line 560:              
    Line 561:              #End ExternalSource
    Line 562:              Me.cboDuration = __ctrl
    Line 563:              __ctrl.TemplateControl = Me
    Line 564:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 565:              
    Line 566:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",39)
    Line 567:              __ctrl.ID = "cboDuration"
    Line 568:              
    Line 569:              #End ExternalSource
    Line 570:              
    Line 571:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",39)
    Line 572:              __ctrl.CssClass = "StdText"
    Line 573:              
    Line 574:              #End ExternalSource
    Line 575:              
    Line 576:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",39)
    Line 577:              __ctrl.AutoPostBack = true
    Line 578:              
    Line 579:              #End ExternalSource
    Line 580:              
    Line 581:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",39)
    Line 582:              __ctrl.Width = New System.Web.UI.WebControls.Unit(70, System.Web.UI.WebControls.UnitType.Pixel)
    Line 583:              
    Line 584:              #End ExternalSource
    Line 585:              Return __ctrl
    Line 586:          End Function
    Line 587:          
    Line 588:          Private Function __BuildControldtFromDate() As Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 589:              Dim __ctrl As Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 590:              
    Line 591:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",42)
    Line 592:              __ctrl = New Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 593:              
    Line 594:              #End ExternalSource
    Line 595:              Me.dtFromDate = __ctrl
    Line 596:              __ctrl.TemplateControl = Me
    Line 597:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 598:              
    Line 599:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",42)
    Line 600:              __ctrl.ID = "dtFromDate"
    Line 601:              
    Line 602:              #End ExternalSource
    Line 603:              Return __ctrl
    Line 604:          End Function
    Line 605:          
    Line 606:          Private Function __BuildControltxtFromDuration() As Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 607:              Dim __ctrl As Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 608:              
    Line 609:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 610:              __ctrl = New Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 611:              
    Line 612:              #End ExternalSource
    Line 613:              Me.txtFromDuration = __ctrl
    Line 614:              __ctrl.TemplateControl = Me
    Line 615:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 616:              
    Line 617:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 618:              __ctrl.ID = "txtFromDuration"
    Line 619:              
    Line 620:              #End ExternalSource
    Line 621:              
    Line 622:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 623:              __ctrl.InputMask = "######"
    Line 624:              
    Line 625:              #End ExternalSource
    Line 626:              
    Line 627:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 628:              __ctrl.RealText = ""
    Line 629:              
    Line 630:              #End ExternalSource
    Line 631:              
    Line 632:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 633:              __ctrl.Width = New System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Pixel)
    Line 634:              
    Line 635:              #End ExternalSource
    Line 636:              
    Line 637:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 638:              __ctrl.ToolTip = ""
    Line 639:              
    Line 640:              #End ExternalSource
    Line 641:              
    Line 642:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 643:              __ctrl.Font.Names = New String() {"Verdana"}
    Line 644:              
    Line 645:              #End ExternalSource
    Line 646:              
    Line 647:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",43)
    Line 648:              __ctrl.Font.Size = New System.Web.UI.WebControls.FontUnit(New System.Web.UI.WebControls.Unit(8, System.Web.UI.WebControls.UnitType.Point))
    Line 649:              
    Line 650:              #End ExternalSource
    Line 651:              Return __ctrl
    Line 652:          End Function
    Line 653:          
    Line 654:          Private Function __BuildControldtToDate() As Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 655:              Dim __ctrl As Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 656:              
    Line 657:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",47)
    Line 658:              __ctrl = New Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 659:              
    Line 660:              #End ExternalSource
    Line 661:              Me.dtToDate = __ctrl
    Line 662:              __ctrl.TemplateControl = Me
    Line 663:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 664:              
    Line 665:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",47)
    Line 666:              __ctrl.ID = "dtToDate"
    Line 667:              
    Line 668:              #End ExternalSource
    Line 669:              Return __ctrl
    Line 670:          End Function
    Line 671:          
    Line 672:          Private Function __BuildControltxtToDuration() As Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 673:              Dim __ctrl As Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 674:              
    Line 675:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 676:              __ctrl = New Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 677:              
    Line 678:              #End ExternalSource
    Line 679:              Me.txtToDuration = __ctrl
    Line 680:              __ctrl.TemplateControl = Me
    Line 681:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 682:              
    Line 683:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 684:              __ctrl.ID = "txtToDuration"
    Line 685:              
    Line 686:              #End ExternalSource
    Line 687:              
    Line 688:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 689:              __ctrl.InputMask = "######"
    Line 690:              
    Line 691:              #End ExternalSource
    Line 692:              
    Line 693:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 694:              __ctrl.RealText = ""
    Line 695:              
    Line 696:              #End ExternalSource
    Line 697:              
    Line 698:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 699:              __ctrl.Width = New System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Pixel)
    Line 700:              
    Line 701:              #End ExternalSource
    Line 702:              
    Line 703:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 704:              __ctrl.ToolTip = ""
    Line 705:              
    Line 706:              #End ExternalSource
    Line 707:              
    Line 708:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 709:              __ctrl.Font.Names = New String() {"Verdana"}
    Line 710:              
    Line 711:              #End ExternalSource
    Line 712:              
    Line 713:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",48)
    Line 714:              __ctrl.Font.Size = New System.Web.UI.WebControls.FontUnit(New System.Web.UI.WebControls.Unit(8, System.Web.UI.WebControls.UnitType.Point))
    Line 715:              
    Line 716:              #End ExternalSource
    Line 717:              Return __ctrl
    Line 718:          End Function
    Line 719:          
    Line 720:          Private Function __BuildControlcboShift() As Global.System.Web.UI.WebControls.DropDownList
    Line 721:              Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
    Line 722:              
    Line 723:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",50)
    Line 724:              __ctrl = New Global.System.Web.UI.WebControls.DropDownList
    Line 725:              
    Line 726:              #End ExternalSource
    Line 727:              Me.cboShift = __ctrl
    Line 728:              __ctrl.TemplateControl = Me
    Line 729:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 730:              
    Line 731:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",50)
    Line 732:              __ctrl.ID = "cboShift"
    Line 733:              
    Line 734:              #End ExternalSource
    Line 735:              
    Line 736:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",50)
    Line 737:              __ctrl.CssClass = "StdText"
    Line 738:              
    Line 739:              #End ExternalSource
    Line 740:              
    Line 741:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",50)
    Line 742:              __ctrl.Width = New System.Web.UI.WebControls.Unit(50, System.Web.UI.WebControls.UnitType.Pixel)
    Line 743:              
    Line 744:              #End ExternalSource
    Line 745:              Return __ctrl
    Line 746:          End Function
    Line 747:          
    Line 748:          Private Function __BuildControlchkHour() As Global.System.Web.UI.WebControls.CheckBoxList
    Line 749:              Dim __ctrl As Global.System.Web.UI.WebControls.CheckBoxList
    Line 750:              
    Line 751:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",54)
    Line 752:              __ctrl = New Global.System.Web.UI.WebControls.CheckBoxList
    Line 753:              
    Line 754:              #End ExternalSource
    Line 755:              Me.chkHour = __ctrl
    Line 756:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 757:              
    Line 758:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",54)
    Line 759:              __ctrl.ID = "chkHour"
    Line 760:              
    Line 761:              #End ExternalSource
    Line 762:              
    Line 763:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",54)
    Line 764:              __ctrl.CssClass = "StdText"
    Line 765:              
    Line 766:              #End ExternalSource
    Line 767:              Return __ctrl
    Line 768:          End Function
    Line 769:          
    Line 770:          Private Function __BuildControlpanelHour() As Global.System.Web.UI.WebControls.Panel
    Line 771:              Dim __ctrl As Global.System.Web.UI.WebControls.Panel
    Line 772:              
    Line 773:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 774:              __ctrl = New Global.System.Web.UI.WebControls.Panel
    Line 775:              
    Line 776:              #End ExternalSource
    Line 777:              Me.panelHour = __ctrl
    Line 778:              __ctrl.TemplateControl = Me
    Line 779:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 780:              
    Line 781:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 782:              __ctrl.ID = "panelHour"
    Line 783:              
    Line 784:              #End ExternalSource
    Line 785:              
    Line 786:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 787:              CType(__ctrl,System.Web.UI.IAttributeAccessor).SetAttribute("style", "OVERFLOW-Y: scroll; Z-INDEX: 132; LEFT: 250px; TOP: 100px")
    Line 788:              
    Line 789:              #End ExternalSource
    Line 790:              
    Line 791:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 792:              __ctrl.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Left
    Line 793:              
    Line 794:              #End ExternalSource
    Line 795:              
    Line 796:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 797:              __ctrl.Wrap = false
    Line 798:              
    Line 799:              #End ExternalSource
    Line 800:              
    Line 801:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 802:              __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 803:              
    Line 804:              #End ExternalSource
    Line 805:              
    Line 806:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 807:              __ctrl.Width = New System.Web.UI.WebControls.Unit(80, System.Web.UI.WebControls.UnitType.Pixel)
    Line 808:              
    Line 809:              #End ExternalSource
    Line 810:              
    Line 811:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 812:              __ctrl.Height = New System.Web.UI.WebControls.Unit(70, System.Web.UI.WebControls.UnitType.Pixel)
    Line 813:              
    Line 814:              #End ExternalSource
    Line 815:              
    Line 816:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 817:              __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Outset
    Line 818:              
    Line 819:              #End ExternalSource
    Line 820:              
    Line 821:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 822:              __ctrl.BackColor = System.Drawing.Color.WhiteSmoke
    Line 823:              
    Line 824:              #End ExternalSource
    Line 825:              Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 826:              
    Line 827:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 828:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "))
    Line 829:              
    Line 830:              #End ExternalSource
    Line 831:              Dim __ctrl1 As Global.System.Web.UI.WebControls.CheckBoxList
    Line 832:              
    Line 833:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 834:              __ctrl1 = Me.__BuildControlchkHour
    Line 835:              
    Line 836:              #End ExternalSource
    Line 837:              
    Line 838:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 839:              __parser.AddParsedSubObject(__ctrl1)
    Line 840:              
    Line 841:              #End ExternalSource
    Line 842:              
    Line 843:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",51)
    Line 844:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)))
    Line 845:              
    Line 846:              #End ExternalSource
    Line 847:              Return __ctrl
    Line 848:          End Function
    Line 849:          
    Line 850:          Private Function __BuildControlcboSiteCode() As Global.System.Web.UI.WebControls.DropDownList
    Line 851:              Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
    Line 852:              
    Line 853:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",63)
    Line 854:              __ctrl = New Global.System.Web.UI.WebControls.DropDownList
    Line 855:              
    Line 856:              #End ExternalSource
    Line 857:              Me.cboSiteCode = __ctrl
    Line 858:              __ctrl.TemplateControl = Me
    Line 859:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 860:              
    Line 861:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",63)
    Line 862:              __ctrl.ID = "cboSiteCode"
    Line 863:              
    Line 864:              #End ExternalSource
    Line 865:              
    Line 866:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",63)
    Line 867:              __ctrl.CssClass = "StdText"
    Line 868:              
    Line 869:              #End ExternalSource
    Line 870:              
    Line 871:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",63)
    Line 872:              __ctrl.Width = New System.Web.UI.WebControls.Unit(70, System.Web.UI.WebControls.UnitType.Pixel)
    Line 873:              
    Line 874:              #End ExternalSource
    Line 875:              Return __ctrl
    Line 876:          End Function
    Line 877:          
    Line 878:          Private Function __BuildControloptSelection_Line() As Global.System.Web.UI.WebControls.RadioButton
    Line 879:              Dim __ctrl As Global.System.Web.UI.WebControls.RadioButton
    Line 880:              
    Line 881:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 882:              __ctrl = New Global.System.Web.UI.WebControls.RadioButton
    Line 883:              
    Line 884:              #End ExternalSource
    Line 885:              Me.optSelection_Line = __ctrl
    Line 886:              __ctrl.TemplateControl = Me
    Line 887:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 888:              
    Line 889:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 890:              __ctrl.ID = "optSelection_Line"
    Line 891:              
    Line 892:              #End ExternalSource
    Line 893:              
    Line 894:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 895:              __ctrl.CssClass = "StdText"
    Line 896:              
    Line 897:              #End ExternalSource
    Line 898:              
    Line 899:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 900:              __ctrl.ForeColor = System.Drawing.Color.Green
    Line 901:              
    Line 902:              #End ExternalSource
    Line 903:              
    Line 904:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 905:              __ctrl.GroupName = "optSelection"
    Line 906:              
    Line 907:              #End ExternalSource
    Line 908:              
    Line 909:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 910:              __ctrl.AutoPostBack = true
    Line 911:              
    Line 912:              #End ExternalSource
    Line 913:              
    Line 914:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 915:              __ctrl.Text = "Line"
    Line 916:              
    Line 917:              #End ExternalSource
    Line 918:              
    Line 919:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",70)
    Line 920:              __ctrl.Checked = true
    Line 921:              
    Line 922:              #End ExternalSource
    Line 923:              Return __ctrl
    Line 924:          End Function
    Line 925:          
    Line 926:          Private Function __BuildControloptSelection_SBR() As Global.System.Web.UI.WebControls.RadioButton
    Line 927:              Dim __ctrl As Global.System.Web.UI.WebControls.RadioButton
    Line 928:              
    Line 929:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",71)
    Line 930:              __ctrl = New Global.System.Web.UI.WebControls.RadioButton
    Line 931:              
    Line 932:              #End ExternalSource
    Line 933:              Me.optSelection_SBR = __ctrl
    Line 934:              __ctrl.TemplateControl = Me
    Line 935:              __ctrl.ApplyStyleSheetSkin(Me)
    Line 936:              
    Line 937:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",71)
    Line 938:              __ctrl.ID = "optSelection_SBR"
    Line 939:              
    Line 940:              #End ExternalSource
    Line 941:              
    Line 942:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",71)
    Line 943:              __ctrl.CssClass = "StdText"
    Line 944:              
    Line 945:              #End ExternalSource
    Line 946:              
    Line 947:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",71)
    Line 948:              __ctrl.ForeColor = System.Drawing.Color.Green
    Line 949:              
    Line 950:              #End ExternalSource
    Line 951:              
    Line 952:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",71)
    Line 953:              __ctrl.GroupName = "optSelection"
    Line 954:              
    Line 955:              #End ExternalSource
    Line 956:              
    Line 957:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",71)
    Line 958:              __ctrl.AutoPostBack = true
    Line 959:              
    Line 960:              #End ExternalSource
    Line 961:              
    Line 962:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",71)
    Line 963:              __ctrl.Text = "SBR"
    Line 964:              
    Line 965:              #End ExternalSource
    Line 966:              Return __ctrl
    Line 967:          End Function
    Line 968:          
    Line 969:          Private Function __BuildControltd_Line() As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 970:              Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 971:              
    Line 972:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",76)
    Line 973:              __ctrl = New Global.System.Web.UI.HtmlControls.HtmlTableCell("td")
    Line 974:              
    Line 975:              #End ExternalSource
    Line 976:              Me.td_Line = __ctrl
    Line 977:              __ctrl.TemplateControl = Me
    Line 978:              
    Line 979:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",76)
    Line 980:              __ctrl.Align = "left"
    Line 981:              
    Line 982:              #End ExternalSource
    Line 983:              
    Line 984:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",76)
    Line 985:              __ctrl.Width = "10%"
    Line 986:              
    Line 987:              #End ExternalSource
    Line 988:              
    Line 989:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",76)
    Line 990:              __ctrl.ID = "td_Line"
    Line 991:              
    Line 992:              #End ExternalSource
    Line 993:              Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 994:              
    Line 995:              #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",76)
    Line 996:              __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("Line"))
    Line 997:              
    Line 998:              #End ExternalSource
    Line 999:              Return __ctrl
    Line 1000:         End Function
    Line 1001:         
    Line 1002:         Private Function __BuildControltd_SBR() As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 1003:             Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 1004:             
    Line 1005:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",77)
    Line 1006:             __ctrl = New Global.System.Web.UI.HtmlControls.HtmlTableCell("td")
    Line 1007:             
    Line 1008:             #End ExternalSource
    Line 1009:             Me.td_SBR = __ctrl
    Line 1010:             __ctrl.TemplateControl = Me
    Line 1011:             
    Line 1012:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",77)
    Line 1013:             __ctrl.Align = "left"
    Line 1014:             
    Line 1015:             #End ExternalSource
    Line 1016:             
    Line 1017:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",77)
    Line 1018:             __ctrl.Width = "10%"
    Line 1019:             
    Line 1020:             #End ExternalSource
    Line 1021:             
    Line 1022:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",77)
    Line 1023:             __ctrl.ID = "td_SBR"
    Line 1024:             
    Line 1025:             #End ExternalSource
    Line 1026:             Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 1027:             
    Line 1028:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",77)
    Line 1029:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("SBR"))
    Line 1030:             
    Line 1031:             #End ExternalSource
    Line 1032:             Return __ctrl
    Line 1033:         End Function
    Line 1034:         
    Line 1035:         Private Function __BuildControloptProdCategory() As Global.System.Web.UI.WebControls.RadioButton
    Line 1036:             Dim __ctrl As Global.System.Web.UI.WebControls.RadioButton
    Line 1037:             
    Line 1038:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 1039:             __ctrl = New Global.System.Web.UI.WebControls.RadioButton
    Line 1040:             
    Line 1041:             #End ExternalSource
    Line 1042:             Me.optProdCategory = __ctrl
    Line 1043:             __ctrl.TemplateControl = Me
    Line 1044:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1045:             
    Line 1046:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 1047:             __ctrl.ID = "optProdCategory"
    Line 1048:             
    Line 1049:             #End ExternalSource
    Line 1050:             
    Line 1051:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 1052:             __ctrl.CssClass = "StdText"
    Line 1053:             
    Line 1054:             #End ExternalSource
    Line 1055:             
    Line 1056:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 1057:             __ctrl.ForeColor = System.Drawing.Color.Green
    Line 1058:             
    Line 1059:             #End ExternalSource
    Line 1060:             
    Line 1061:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 1062:             __ctrl.GroupName = "optProduct"
    Line 1063:             
    Line 1064:             #End ExternalSource
    Line 1065:             
    Line 1066:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 1067:             __ctrl.AutoPostBack = true
    Line 1068:             
    Line 1069:             #End ExternalSource
    Line 1070:             
    Line 1071:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 1072:             __ctrl.Text = "Product"
    Line 1073:             
    Line 1074:             #End ExternalSource
    Line 1075:             
    Line 1076:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",80)
    Line 1077:             __ctrl.Checked = true
    Line 1078:             
    Line 1079:             #End ExternalSource
    Line 1080:             Return __ctrl
    Line 1081:         End Function
    Line 1082:         
    Line 1083:         Private Function __BuildControloptProdFamily() As Global.System.Web.UI.WebControls.RadioButton
    Line 1084:             Dim __ctrl As Global.System.Web.UI.WebControls.RadioButton
    Line 1085:             
    Line 1086:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",81)
    Line 1087:             __ctrl = New Global.System.Web.UI.WebControls.RadioButton
    Line 1088:             
    Line 1089:             #End ExternalSource
    Line 1090:             Me.optProdFamily = __ctrl
    Line 1091:             __ctrl.TemplateControl = Me
    Line 1092:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1093:             
    Line 1094:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",81)
    Line 1095:             __ctrl.ID = "optProdFamily"
    Line 1096:             
    Line 1097:             #End ExternalSource
    Line 1098:             
    Line 1099:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",81)
    Line 1100:             __ctrl.CssClass = "StdText"
    Line 1101:             
    Line 1102:             #End ExternalSource
    Line 1103:             
    Line 1104:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",81)
    Line 1105:             __ctrl.ForeColor = System.Drawing.Color.Green
    Line 1106:             
    Line 1107:             #End ExternalSource
    Line 1108:             
    Line 1109:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",81)
    Line 1110:             __ctrl.GroupName = "optProduct"
    Line 1111:             
    Line 1112:             #End ExternalSource
    Line 1113:             
    Line 1114:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",81)
    Line 1115:             __ctrl.AutoPostBack = true
    Line 1116:             
    Line 1117:             #End ExternalSource
    Line 1118:             
    Line 1119:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",81)
    Line 1120:             __ctrl.Text = "Family"
    Line 1121:             
    Line 1122:             #End ExternalSource
    Line 1123:             Return __ctrl
    Line 1124:         End Function
    Line 1125:         
    Line 1126:         Private Function __BuildControloptProdModel() As Global.System.Web.UI.WebControls.RadioButton
    Line 1127:             Dim __ctrl As Global.System.Web.UI.WebControls.RadioButton
    Line 1128:             
    Line 1129:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",82)
    Line 1130:             __ctrl = New Global.System.Web.UI.WebControls.RadioButton
    Line 1131:             
    Line 1132:             #End ExternalSource
    Line 1133:             Me.optProdModel = __ctrl
    Line 1134:             __ctrl.TemplateControl = Me
    Line 1135:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1136:             
    Line 1137:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",82)
    Line 1138:             __ctrl.ID = "optProdModel"
    Line 1139:             
    Line 1140:             #End ExternalSource
    Line 1141:             
    Line 1142:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",82)
    Line 1143:             __ctrl.CssClass = "StdText"
    Line 1144:             
    Line 1145:             #End ExternalSource
    Line 1146:             
    Line 1147:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",82)
    Line 1148:             __ctrl.ForeColor = System.Drawing.Color.Green
    Line 1149:             
    Line 1150:             #End ExternalSource
    Line 1151:             
    Line 1152:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",82)
    Line 1153:             __ctrl.GroupName = "optProduct"
    Line 1154:             
    Line 1155:             #End ExternalSource
    Line 1156:             
    Line 1157:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",82)
    Line 1158:             __ctrl.AutoPostBack = true
    Line 1159:             
    Line 1160:             #End ExternalSource
    Line 1161:             
    Line 1162:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",82)
    Line 1163:             __ctrl.Text = "Part Number"
    Line 1164:             
    Line 1165:             #End ExternalSource
    Line 1166:             Return __ctrl
    Line 1167:         End Function
    Line 1168:         
    Line 1169:         Private Function __BuildControlchkLine() As Global.System.Web.UI.WebControls.CheckBoxList
    Line 1170:             Dim __ctrl As Global.System.Web.UI.WebControls.CheckBoxList
    Line 1171:             
    Line 1172:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",91)
    Line 1173:             __ctrl = New Global.System.Web.UI.WebControls.CheckBoxList
    Line 1174:             
    Line 1175:             #End ExternalSource
    Line 1176:             Me.chkLine = __ctrl
    Line 1177:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1178:             
    Line 1179:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",91)
    Line 1180:             __ctrl.ID = "chkLine"
    Line 1181:             
    Line 1182:             #End ExternalSource
    Line 1183:             
    Line 1184:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",91)
    Line 1185:             __ctrl.CssClass = "StdText"
    Line 1186:             
    Line 1187:             #End ExternalSource
    Line 1188:             Return __ctrl
    Line 1189:         End Function
    Line 1190:         
    Line 1191:         Private Function __BuildControlPanelLine() As Global.System.Web.UI.WebControls.Panel
    Line 1192:             Dim __ctrl As Global.System.Web.UI.WebControls.Panel
    Line 1193:             
    Line 1194:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1195:             __ctrl = New Global.System.Web.UI.WebControls.Panel
    Line 1196:             
    Line 1197:             #End ExternalSource
    Line 1198:             Me.PanelLine = __ctrl
    Line 1199:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1200:             
    Line 1201:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1202:             __ctrl.ID = "PanelLine"
    Line 1203:             
    Line 1204:             #End ExternalSource
    Line 1205:             
    Line 1206:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1207:             CType(__ctrl,System.Web.UI.IAttributeAccessor).SetAttribute("style", "OVERFLOW-Y: scroll; Z-INDEX: 132; LEFT: 250px; TOP: 100px")
    Line 1208:             
    Line 1209:             #End ExternalSource
    Line 1210:             
    Line 1211:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1212:             __ctrl.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Left
    Line 1213:             
    Line 1214:             #End ExternalSource
    Line 1215:             
    Line 1216:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1217:             __ctrl.Wrap = false
    Line 1218:             
    Line 1219:             #End ExternalSource
    Line 1220:             
    Line 1221:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1222:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 1223:             
    Line 1224:             #End ExternalSource
    Line 1225:             
    Line 1226:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1227:             __ctrl.Width = New System.Web.UI.WebControls.Unit(80, System.Web.UI.WebControls.UnitType.Pixel)
    Line 1228:             
    Line 1229:             #End ExternalSource
    Line 1230:             
    Line 1231:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1232:             __ctrl.Height = New System.Web.UI.WebControls.Unit(70, System.Web.UI.WebControls.UnitType.Pixel)
    Line 1233:             
    Line 1234:             #End ExternalSource
    Line 1235:             
    Line 1236:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1237:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Outset
    Line 1238:             
    Line 1239:             #End ExternalSource
    Line 1240:             
    Line 1241:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1242:             __ctrl.BackColor = System.Drawing.Color.WhiteSmoke
    Line 1243:             
    Line 1244:             #End ExternalSource
    Line 1245:             Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 1246:             
    Line 1247:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1248:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "))
    Line 1249:             
    Line 1250:             #End ExternalSource
    Line 1251:             Dim __ctrl1 As Global.System.Web.UI.WebControls.CheckBoxList
    Line 1252:             
    Line 1253:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1254:             __ctrl1 = Me.__BuildControlchkLine
    Line 1255:             
    Line 1256:             #End ExternalSource
    Line 1257:             
    Line 1258:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1259:             __parser.AddParsedSubObject(__ctrl1)
    Line 1260:             
    Line 1261:             #End ExternalSource
    Line 1262:             
    Line 1263:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",88)
    Line 1264:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)))
    Line 1265:             
    Line 1266:             #End ExternalSource
    Line 1267:             Return __ctrl
    Line 1268:         End Function
    Line 1269:         
    Line 1270:         Private Function __BuildControltd_LineValue() As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 1271:             Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 1272:             
    Line 1273:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",87)
    Line 1274:             __ctrl = New Global.System.Web.UI.HtmlControls.HtmlTableCell("td")
    Line 1275:             
    Line 1276:             #End ExternalSource
    Line 1277:             Me.td_LineValue = __ctrl
    Line 1278:             __ctrl.TemplateControl = Me
    Line 1279:             
    Line 1280:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",87)
    Line 1281:             __ctrl.Align = "left"
    Line 1282:             
    Line 1283:             #End ExternalSource
    Line 1284:             
    Line 1285:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",87)
    Line 1286:             __ctrl.ID = "td_LineValue"
    Line 1287:             
    Line 1288:             #End ExternalSource
    Line 1289:             Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 1290:             
    Line 1291:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",87)
    Line 1292:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    "))
    Line 1293:             
    Line 1294:             #End ExternalSource
    Line 1295:             Dim __ctrl1 As Global.System.Web.UI.WebControls.Panel
    Line 1296:             
    Line 1297:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",87)
    Line 1298:             __ctrl1 = Me.__BuildControlPanelLine
    Line 1299:             
    Line 1300:             #End ExternalSource
    Line 1301:             
    Line 1302:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",87)
    Line 1303:             __parser.AddParsedSubObject(__ctrl1)
    Line 1304:             
    Line 1305:             #End ExternalSource
    Line 1306:             
    Line 1307:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",87)
    Line 1308:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(" "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            "))
    Line 1309:             
    Line 1310:             #End ExternalSource
    Line 1311:             Return __ctrl
    Line 1312:         End Function
    Line 1313:         
    Line 1314:         Private Function __BuildControltxtSBR() As Global.System.Web.UI.WebControls.TextBox
    Line 1315:             Dim __ctrl As Global.System.Web.UI.WebControls.TextBox
    Line 1316:             
    Line 1317:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",95)
    Line 1318:             __ctrl = New Global.System.Web.UI.WebControls.TextBox
    Line 1319:             
    Line 1320:             #End ExternalSource
    Line 1321:             Me.txtSBR = __ctrl
    Line 1322:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1323:             
    Line 1324:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",95)
    Line 1325:             __ctrl.ID = "txtSBR"
    Line 1326:             
    Line 1327:             #End ExternalSource
    Line 1328:             
    Line 1329:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",95)
    Line 1330:             __ctrl.CssClass = "StdText"
    Line 1331:             
    Line 1332:             #End ExternalSource
    Line 1333:             
    Line 1334:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",95)
    Line 1335:             __ctrl.MaxLength = 15
    Line 1336:             
    Line 1337:             #End ExternalSource
    Line 1338:             Return __ctrl
    Line 1339:         End Function
    Line 1340:         
    Line 1341:         Private Function __BuildControltd_SBRValue() As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 1342:             Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 1343:             
    Line 1344:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 1345:             __ctrl = New Global.System.Web.UI.HtmlControls.HtmlTableCell("td")
    Line 1346:             
    Line 1347:             #End ExternalSource
    Line 1348:             Me.td_SBRValue = __ctrl
    Line 1349:             __ctrl.TemplateControl = Me
    Line 1350:             
    Line 1351:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 1352:             __ctrl.Align = "left"
    Line 1353:             
    Line 1354:             #End ExternalSource
    Line 1355:             
    Line 1356:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 1357:             __ctrl.VAlign = "top"
    Line 1358:             
    Line 1359:             #End ExternalSource
    Line 1360:             
    Line 1361:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 1362:             __ctrl.ID = "td_SBRValue"
    Line 1363:             
    Line 1364:             #End ExternalSource
    Line 1365:             Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 1366:             
    Line 1367:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 1368:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("   "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"  "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "))
    Line 1369:             
    Line 1370:             #End ExternalSource
    Line 1371:             Dim __ctrl1 As Global.System.Web.UI.WebControls.TextBox
    Line 1372:             
    Line 1373:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 1374:             __ctrl1 = Me.__BuildControltxtSBR
    Line 1375:             
    Line 1376:             #End ExternalSource
    Line 1377:             
    Line 1378:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 1379:             __parser.AddParsedSubObject(__ctrl1)
    Line 1380:             
    Line 1381:             #End ExternalSource
    Line 1382:             
    Line 1383:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",94)
    Line 1384:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            "))
    Line 1385:             
    Line 1386:             #End ExternalSource
    Line 1387:             Return __ctrl
    Line 1388:         End Function
    Line 1389:         
    Line 1390:         Private Function __BuildControlcboAssyType() As Global.System.Web.UI.WebControls.DropDownList
    Line 1391:             Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
    Line 1392:             
    Line 1393:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",97)
    Line 1394:             __ctrl = New Global.System.Web.UI.WebControls.DropDownList
    Line 1395:             
    Line 1396:             #End ExternalSource
    Line 1397:             Me.cboAssyType = __ctrl
    Line 1398:             __ctrl.TemplateControl = Me
    Line 1399:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1400:             
    Line 1401:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",97)
    Line 1402:             __ctrl.ID = "cboAssyType"
    Line 1403:             
    Line 1404:             #End ExternalSource
    Line 1405:             
    Line 1406:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",97)
    Line 1407:             __ctrl.CssClass = "StdText"
    Line 1408:             
    Line 1409:             #End ExternalSource
    Line 1410:             
    Line 1411:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",97)
    Line 1412:             __ctrl.Width = New System.Web.UI.WebControls.Unit(70, System.Web.UI.WebControls.UnitType.Pixel)
    Line 1413:             
    Line 1414:             #End ExternalSource
    Line 1415:             Return __ctrl
    Line 1416:         End Function
    Line 1417:         
    Line 1418:         Private Function __BuildControlcboProduct() As Global.System.Web.UI.WebControls.DropDownList
    Line 1419:             Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
    Line 1420:             
    Line 1421:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",98)
    Line 1422:             __ctrl = New Global.System.Web.UI.WebControls.DropDownList
    Line 1423:             
    Line 1424:             #End ExternalSource
    Line 1425:             Me.cboProduct = __ctrl
    Line 1426:             __ctrl.TemplateControl = Me
    Line 1427:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1428:             
    Line 1429:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",98)
    Line 1430:             __ctrl.ID = "cboProduct"
    Line 1431:             
    Line 1432:             #End ExternalSource
    Line 1433:             
    Line 1434:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",98)
    Line 1435:             __ctrl.CssClass = "StdText"
    Line 1436:             
    Line 1437:             #End ExternalSource
    Line 1438:             Return __ctrl
    Line 1439:         End Function
    Line 1440:         
    Line 1441:         Private Function __BuildControlcboOperation() As Global.System.Web.UI.WebControls.DropDownList
    Line 1442:             Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
    Line 1443:             
    Line 1444:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",99)
    Line 1445:             __ctrl = New Global.System.Web.UI.WebControls.DropDownList
    Line 1446:             
    Line 1447:             #End ExternalSource
    Line 1448:             Me.cboOperation = __ctrl
    Line 1449:             __ctrl.TemplateControl = Me
    Line 1450:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1451:             
    Line 1452:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",99)
    Line 1453:             __ctrl.ID = "cboOperation"
    Line 1454:             
    Line 1455:             #End ExternalSource
    Line 1456:             
    Line 1457:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",99)
    Line 1458:             __ctrl.CssClass = "StdText"
    Line 1459:             
    Line 1460:             #End ExternalSource
    Line 1461:             Return __ctrl
    Line 1462:         End Function
    Line 1463:         
    Line 1464:         Private Function __BuildControlcboMajor() As Global.System.Web.UI.WebControls.DropDownList
    Line 1465:             Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
    Line 1466:             
    Line 1467:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",106)
    Line 1468:             __ctrl = New Global.System.Web.UI.WebControls.DropDownList
    Line 1469:             
    Line 1470:             #End ExternalSource
    Line 1471:             Me.cboMajor = __ctrl
    Line 1472:             __ctrl.TemplateControl = Me
    Line 1473:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1474:             
    Line 1475:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",106)
    Line 1476:             __ctrl.ID = "cboMajor"
    Line 1477:             
    Line 1478:             #End ExternalSource
    Line 1479:             
    Line 1480:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",106)
    Line 1481:             __ctrl.CssClass = "StdText"
    Line 1482:             
    Line 1483:             #End ExternalSource
    Line 1484:             Return __ctrl
    Line 1485:         End Function
    Line 1486:         
    Line 1487:         Private Function __BuildControlcboMinor() As Global.System.Web.UI.WebControls.DropDownList
    Line 1488:             Dim __ctrl As Global.System.Web.UI.WebControls.DropDownList
    Line 1489:             
    Line 1490:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",107)
    Line 1491:             __ctrl = New Global.System.Web.UI.WebControls.DropDownList
    Line 1492:             
    Line 1493:             #End ExternalSource
    Line 1494:             Me.cboMinor = __ctrl
    Line 1495:             __ctrl.TemplateControl = Me
    Line 1496:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1497:             
    Line 1498:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",107)
    Line 1499:             __ctrl.ID = "cboMinor"
    Line 1500:             
    Line 1501:             #End ExternalSource
    Line 1502:             
    Line 1503:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",107)
    Line 1504:             __ctrl.CssClass = "StdText"
    Line 1505:             
    Line 1506:             #End ExternalSource
    Line 1507:             Return __ctrl
    Line 1508:         End Function
    Line 1509:         
    Line 1510:         Private Sub __BuildControl__control7(ByVal __ctrl As Infragistics.WebUI.WebDataInput.ButtonRoundedCorners)
    Line 1511:             
    Line 1512:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1513:             __ctrl.MaxHeight = 23
    Line 1514:             
    Line 1515:             #End ExternalSource
    Line 1516:             
    Line 1517:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1518:             __ctrl.ImageUrl = "../Images/Infragistics/ig_butMac1.gif"
    Line 1519:             
    Line 1520:             #End ExternalSource
    Line 1521:             
    Line 1522:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1523:             __ctrl.MaxWidth = 500
    Line 1524:             
    Line 1525:             #End ExternalSource
    Line 1526:             
    Line 1527:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1528:             __ctrl.HoverImageUrl = "../Images/Infragistics/ig_butMac2.gif"
    Line 1529:             
    Line 1530:             #End ExternalSource
    Line 1531:             
    Line 1532:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1533:             __ctrl.RenderingType = Infragistics.WebUI.WebDataInput.ButtonRoundedCornersType.FileImages
    Line 1534:             
    Line 1535:             #End ExternalSource
    Line 1536:             
    Line 1537:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1538:             __ctrl.HeightOfBottomEdge = 0
    Line 1539:             
    Line 1540:             #End ExternalSource
    Line 1541:             
    Line 1542:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1543:             __ctrl.PressedImageUrl = "../Images/Infragistics/ig_butMac4.gif"
    Line 1544:             
    Line 1545:             #End ExternalSource
    Line 1546:             
    Line 1547:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1548:             __ctrl.WidthOfRightEdge = 30
    Line 1549:             
    Line 1550:             #End ExternalSource
    Line 1551:         End Sub
    Line 1552:         
    Line 1553:         Private Sub __BuildControl__control9(ByVal __ctrl As Infragistics.WebUI.[Shared].Style)
    Line 1554:             
    Line 1555:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1556:             __ctrl.ForeColor = CType(System.Drawing.Color.FromArgb(102, 102, 102),System.Drawing.Color)
    Line 1557:             
    Line 1558:             #End ExternalSource
    Line 1559:         End Sub
    Line 1560:         
    Line 1561:         Private Sub __BuildControl__control8(ByVal __ctrl As Infragistics.WebUI.WebControls.Buttons.ButtonAppearance)
    Line 1562:             
    Line 1563:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1564:             Me.__BuildControl__control9(__ctrl.Style)
    Line 1565:             
    Line 1566:             #End ExternalSource
    Line 1567:         End Sub
    Line 1568:         
    Line 1569:         Private Function __BuildControlcmdView() As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 1570:             Dim __ctrl As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 1571:             
    Line 1572:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1573:             __ctrl = New Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 1574:             
    Line 1575:             #End ExternalSource
    Line 1576:             Me.cmdView = __ctrl
    Line 1577:             __ctrl.TemplateControl = Me
    Line 1578:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1579:             
    Line 1580:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1581:             __ctrl.ID = "cmdView"
    Line 1582:             
    Line 1583:             #End ExternalSource
    Line 1584:             
    Line 1585:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1586:             __ctrl.Text = "View"
    Line 1587:             
    Line 1588:             #End ExternalSource
    Line 1589:             
    Line 1590:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1591:             __ctrl.AutoSubmit = true
    Line 1592:             
    Line 1593:             #End ExternalSource
    Line 1594:             
    Line 1595:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1596:             __ctrl.UseBrowserDefaults = false
    Line 1597:             
    Line 1598:             #End ExternalSource
    Line 1599:             
    Line 1600:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1601:             Me.__BuildControl__control7(__ctrl.RoundedCorners)
    Line 1602:             
    Line 1603:             #End ExternalSource
    Line 1604:             
    Line 1605:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",114)
    Line 1606:             Me.__BuildControl__control8(__ctrl.Appearance)
    Line 1607:             
    Line 1608:             #End ExternalSource
    Line 1609:             Return __ctrl
    Line 1610:         End Function
    Line 1611:         
    Line 1612:         Private Sub __BuildControl__control10(ByVal __ctrl As Infragistics.WebUI.WebDataInput.ButtonRoundedCorners)
    Line 1613:             
    Line 1614:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1615:             __ctrl.MaxHeight = 23
    Line 1616:             
    Line 1617:             #End ExternalSource
    Line 1618:             
    Line 1619:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1620:             __ctrl.ImageUrl = "../Images/Infragistics/ig_butMac1.gif"
    Line 1621:             
    Line 1622:             #End ExternalSource
    Line 1623:             
    Line 1624:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1625:             __ctrl.MaxWidth = 500
    Line 1626:             
    Line 1627:             #End ExternalSource
    Line 1628:             
    Line 1629:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1630:             __ctrl.HoverImageUrl = "../Images/Infragistics/ig_butMac2.gif"
    Line 1631:             
    Line 1632:             #End ExternalSource
    Line 1633:             
    Line 1634:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1635:             __ctrl.RenderingType = Infragistics.WebUI.WebDataInput.ButtonRoundedCornersType.FileImages
    Line 1636:             
    Line 1637:             #End ExternalSource
    Line 1638:             
    Line 1639:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1640:             __ctrl.HeightOfBottomEdge = 0
    Line 1641:             
    Line 1642:             #End ExternalSource
    Line 1643:             
    Line 1644:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1645:             __ctrl.PressedImageUrl = "../Images/Infragistics/ig_butMac4.gif"
    Line 1646:             
    Line 1647:             #End ExternalSource
    Line 1648:             
    Line 1649:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1650:             __ctrl.WidthOfRightEdge = 30
    Line 1651:             
    Line 1652:             #End ExternalSource
    Line 1653:         End Sub
    Line 1654:         
    Line 1655:         Private Sub __BuildControl__control12(ByVal __ctrl As Infragistics.WebUI.[Shared].Style)
    Line 1656:             
    Line 1657:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1658:             __ctrl.ForeColor = CType(System.Drawing.Color.FromArgb(102, 102, 102),System.Drawing.Color)
    Line 1659:             
    Line 1660:             #End ExternalSource
    Line 1661:         End Sub
    Line 1662:         
    Line 1663:         Private Sub __BuildControl__control11(ByVal __ctrl As Infragistics.WebUI.WebControls.Buttons.ButtonAppearance)
    Line 1664:             
    Line 1665:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1666:             Me.__BuildControl__control12(__ctrl.Style)
    Line 1667:             
    Line 1668:             #End ExternalSource
    Line 1669:         End Sub
    Line 1670:         
    Line 1671:         Private Function __BuildControlcmdClear() As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 1672:             Dim __ctrl As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 1673:             
    Line 1674:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1675:             __ctrl = New Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 1676:             
    Line 1677:             #End ExternalSource
    Line 1678:             Me.cmdClear = __ctrl
    Line 1679:             __ctrl.TemplateControl = Me
    Line 1680:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 1681:             
    Line 1682:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1683:             __ctrl.ID = "cmdClear"
    Line 1684:             
    Line 1685:             #End ExternalSource
    Line 1686:             
    Line 1687:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1688:             __ctrl.Text = "Clear"
    Line 1689:             
    Line 1690:             #End ExternalSource
    Line 1691:             
    Line 1692:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1693:             __ctrl.AutoSubmit = true
    Line 1694:             
    Line 1695:             #End ExternalSource
    Line 1696:             
    Line 1697:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1698:             __ctrl.UseBrowserDefaults = false
    Line 1699:             
    Line 1700:             #End ExternalSource
    Line 1701:             
    Line 1702:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1703:             Me.__BuildControl__control10(__ctrl.RoundedCorners)
    Line 1704:             
    Line 1705:             #End ExternalSource
    Line 1706:             
    Line 1707:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",119)
    Line 1708:             Me.__BuildControl__control11(__ctrl.Appearance)
    Line 1709:             
    Line 1710:             #End ExternalSource
    Line 1711:             Return __ctrl
    Line 1712:         End Function
    Line 1713:         
    Line 1714:         Private Sub __BuildControl__control6(ByVal __ctrl As System.Web.UI.Control)
    Line 1715:             Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 1716:             
    Line 1717:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1718:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"        <table class=""Content"" align=""center"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"   "& _ 
    Line 1719:                         "         <td colspan=""8"" align=""left"">"))
    Line 1720:             
    Line 1721:             #End ExternalSource
    Line 1722:             Dim __ctrl1 As Global.System.Web.UI.WebControls.Label
    Line 1723:             
    Line 1724:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1725:             __ctrl1 = Me.__BuildControllblErrorMsg
    Line 1726:             
    Line 1727:             #End ExternalSource
    Line 1728:             
    Line 1729:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1730:             __parser.AddParsedSubObject(__ctrl1)
    Line 1731:             
    Line 1732:             #End ExternalSource
    Line 1733:             
    Line 1734:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1735:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("</td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr height=""10""><td></td></tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"  "& _ 
    Line 1736:                         "          <tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td align=""left"" width=""10%"">Duration</td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)& _ 
    Line 1737:                         ""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td align=""left"" width=""10%"">"))
    Line 1738:             
    Line 1739:             #End ExternalSource
    Line 1740:             Dim __ctrl2 As Global.System.Web.UI.WebControls.Label
    Line 1741:             
    Line 1742:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1743:             __ctrl2 = Me.__BuildControllblDurationFrom
    Line 1744:             
    Line 1745:             #End ExternalSource
    Line 1746:             
    Line 1747:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1748:             __parser.AddParsedSubObject(__ctrl2)
    Line 1749:             
    Line 1750:             #End ExternalSource
    Line 1751:             
    Line 1752:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1753:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("</td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td align=""left"" width=""10%"">"))
    Line 1754:             
    Line 1755:             #End ExternalSource
    Line 1756:             Dim __ctrl3 As Global.System.Web.UI.WebControls.Label
    Line 1757:             
    Line 1758:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1759:             __ctrl3 = Me.__BuildControllblDurationTo
    Line 1760:             
    Line 1761:             #End ExternalSource
    Line 1762:             
    Line 1763:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1764:             __parser.AddParsedSubObject(__ctrl3)
    Line 1765:             
    Line 1766:             #End ExternalSource
    Line 1767:             
    Line 1768:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1769:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("</td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td></td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)& _ 
    Line 1770:                         ""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td align=""left"" valign=""top"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    "))
    Line 1771:             
    Line 1772:             #End ExternalSource
    Line 1773:             Dim __ctrl4 As Global.System.Web.UI.WebControls.DropDownList
    Line 1774:             
    Line 1775:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1776:             __ctrl4 = Me.__BuildControlcboDuration
    Line 1777:             
    Line 1778:             #End ExternalSource
    Line 1779:             
    Line 1780:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1781:             __parser.AddParsedSubObject(__ctrl4)
    Line 1782:             
    Line 1783:             #End ExternalSource
    Line 1784:             
    Line 1785:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1786:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </td>"&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <td align="& _ 
    Line 1787:                         """left"" valign=""top"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "))
    Line 1788:             
    Line 1789:             #End ExternalSource
    Line 1790:             Dim __ctrl5 As Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 1791:             
    Line 1792:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1793:             __ctrl5 = Me.__BuildControldtFromDate
    Line 1794:             
    Line 1795:             #End ExternalSource
    Line 1796:             
    Line 1797:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1798:             __parser.AddParsedSubObject(__ctrl5)
    Line 1799:             
    Line 1800:             #End ExternalSource
    Line 1801:             
    Line 1802:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1803:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "))
    Line 1804:             
    Line 1805:             #End ExternalSource
    Line 1806:             Dim __ctrl6 As Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 1807:             
    Line 1808:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1809:             __ctrl6 = Me.__BuildControltxtFromDuration
    Line 1810:             
    Line 1811:             #End ExternalSource
    Line 1812:             
    Line 1813:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1814:             __parser.AddParsedSubObject(__ctrl6)
    Line 1815:             
    Line 1816:             #End ExternalSource
    Line 1817:             
    Line 1818:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1819:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </td>"&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <td align=""l"& _ 
    Line 1820:                         "eft"" valign=""top"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "))
    Line 1821:             
    Line 1822:             #End ExternalSource
    Line 1823:             Dim __ctrl7 As Global.Infragistics.WebUI.WebSchedule.WebDateChooser
    Line 1824:             
    Line 1825:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1826:             __ctrl7 = Me.__BuildControldtToDate
    Line 1827:             
    Line 1828:             #End ExternalSource
    Line 1829:             
    Line 1830:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1831:             __parser.AddParsedSubObject(__ctrl7)
    Line 1832:             
    Line 1833:             #End ExternalSource
    Line 1834:             
    Line 1835:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1836:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "))
    Line 1837:             
    Line 1838:             #End ExternalSource
    Line 1839:             Dim __ctrl8 As Global.Infragistics.WebUI.WebDataInput.WebMaskEdit
    Line 1840:             
    Line 1841:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1842:             __ctrl8 = Me.__BuildControltxtToDuration
    Line 1843:             
    Line 1844:             #End ExternalSource
    Line 1845:             
    Line 1846:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1847:             __parser.AddParsedSubObject(__ctrl8)
    Line 1848:             
    Line 1849:             #End ExternalSource
    Line 1850:             
    Line 1851:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1852:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "))
    Line 1853:             
    Line 1854:             #End ExternalSource
    Line 1855:             Dim __ctrl9 As Global.System.Web.UI.WebControls.DropDownList
    Line 1856:             
    Line 1857:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1858:             __ctrl9 = Me.__BuildControlcboShift
    Line 1859:             
    Line 1860:             #End ExternalSource
    Line 1861:             
    Line 1862:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1863:             __parser.AddParsedSubObject(__ctrl9)
    Line 1864:             
    Line 1865:             #End ExternalSource
    Line 1866:             
    Line 1867:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1868:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "))
    Line 1869:             
    Line 1870:             #End ExternalSource
    Line 1871:             Dim __ctrl10 As Global.System.Web.UI.WebControls.Panel
    Line 1872:             
    Line 1873:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1874:             __ctrl10 = Me.__BuildControlpanelHour
    Line 1875:             
    Line 1876:             #End ExternalSource
    Line 1877:             
    Line 1878:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1879:             __parser.AddParsedSubObject(__ctrl10)
    Line 1880:             
    Line 1881:             #End ExternalSource
    Line 1882:             
    Line 1883:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1884:             __parser.AddParsedSubObject(Me.CreateResourceBasedLiteralControl(2841, 297, true))
    Line 1885:             
    Line 1886:             #End ExternalSource
    Line 1887:             Dim __ctrl11 As Global.System.Web.UI.WebControls.DropDownList
    Line 1888:             
    Line 1889:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1890:             __ctrl11 = Me.__BuildControlcboSiteCode
    Line 1891:             
    Line 1892:             #End ExternalSource
    Line 1893:             
    Line 1894:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1895:             __parser.AddParsedSubObject(__ctrl11)
    Line 1896:             
    Line 1897:             #End ExternalSource
    Line 1898:             
    Line 1899:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1900:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                </td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr height=""10"">"& _ 
    Line 1901:                         "<td></td></tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td colspan=""4"" align=""l"& _ 
    Line 1902:                         "eft"" width=""10%"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    Based On :&nbsp;&nbsp;"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"           "& _ 
    Line 1903:                         "         "))
    Line 1904:             
    Line 1905:             #End ExternalSource
    Line 1906:             Dim __ctrl12 As Global.System.Web.UI.WebControls.RadioButton
    Line 1907:             
    Line 1908:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1909:             __ctrl12 = Me.__BuildControloptSelection_Line
    Line 1910:             
    Line 1911:             #End ExternalSource
    Line 1912:             
    Line 1913:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1914:             __parser.AddParsedSubObject(__ctrl12)
    Line 1915:             
    Line 1916:             #End ExternalSource
    Line 1917:             
    Line 1918:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1919:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    "))
    Line 1920:             
    Line 1921:             #End ExternalSource
    Line 1922:             Dim __ctrl13 As Global.System.Web.UI.WebControls.RadioButton
    Line 1923:             
    Line 1924:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1925:             __ctrl13 = Me.__BuildControloptSelection_SBR
    Line 1926:             
    Line 1927:             #End ExternalSource
    Line 1928:             
    Line 1929:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1930:             __parser.AddParsedSubObject(__ctrl13)
    Line 1931:             
    Line 1932:             #End ExternalSource
    Line 1933:             
    Line 1934:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1935:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                </td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr height=""10"">"& _ 
    Line 1936:                         "<td></td></tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "))
    Line 1937:             
    Line 1938:             #End ExternalSource
    Line 1939:             Dim __ctrl14 As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 1940:             
    Line 1941:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1942:             __ctrl14 = Me.__BuildControltd_Line
    Line 1943:             
    Line 1944:             #End ExternalSource
    Line 1945:             
    Line 1946:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1947:             __parser.AddParsedSubObject(__ctrl14)
    Line 1948:             
    Line 1949:             #End ExternalSource
    Line 1950:             
    Line 1951:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1952:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "))
    Line 1953:             
    Line 1954:             #End ExternalSource
    Line 1955:             Dim __ctrl15 As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 1956:             
    Line 1957:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1958:             __ctrl15 = Me.__BuildControltd_SBR
    Line 1959:             
    Line 1960:             #End ExternalSource
    Line 1961:             
    Line 1962:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1963:             __parser.AddParsedSubObject(__ctrl15)
    Line 1964:             
    Line 1965:             #End ExternalSource
    Line 1966:             
    Line 1967:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1968:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td align=""left"" width=""10%"">Assembly Type</td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"        "& _ 
    Line 1969:                         "        <td align=""left"" width=""15%"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    "))
    Line 1970:             
    Line 1971:             #End ExternalSource
    Line 1972:             Dim __ctrl16 As Global.System.Web.UI.WebControls.RadioButton
    Line 1973:             
    Line 1974:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1975:             __ctrl16 = Me.__BuildControloptProdCategory
    Line 1976:             
    Line 1977:             #End ExternalSource
    Line 1978:             
    Line 1979:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1980:             __parser.AddParsedSubObject(__ctrl16)
    Line 1981:             
    Line 1982:             #End ExternalSource
    Line 1983:             
    Line 1984:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1985:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    "))
    Line 1986:             
    Line 1987:             #End ExternalSource
    Line 1988:             Dim __ctrl17 As Global.System.Web.UI.WebControls.RadioButton
    Line 1989:             
    Line 1990:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1991:             __ctrl17 = Me.__BuildControloptProdFamily
    Line 1992:             
    Line 1993:             #End ExternalSource
    Line 1994:             
    Line 1995:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 1996:             __parser.AddParsedSubObject(__ctrl17)
    Line 1997:             
    Line 1998:             #End ExternalSource
    Line 1999:             
    Line 2000:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2001:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                    "))
    Line 2002:             
    Line 2003:             #End ExternalSource
    Line 2004:             Dim __ctrl18 As Global.System.Web.UI.WebControls.RadioButton
    Line 2005:             
    Line 2006:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2007:             __ctrl18 = Me.__BuildControloptProdModel
    Line 2008:             
    Line 2009:             #End ExternalSource
    Line 2010:             
    Line 2011:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2012:             __parser.AddParsedSubObject(__ctrl18)
    Line 2013:             
    Line 2014:             #End ExternalSource
    Line 2015:             
    Line 2016:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2017:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                </td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td align=""left"" width=""10%"">Opera"& _ 
    Line 2018:                         "tion</td>"&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr>"&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"      "& _ 
    Line 2019:                         "          "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                "))
    Line 2020:             
    Line 2021:             #End ExternalSource
    Line 2022:             Dim __ctrl19 As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 2023:             
    Line 2024:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2025:             __ctrl19 = Me.__BuildControltd_LineValue
    Line 2026:             
    Line 2027:             #End ExternalSource
    Line 2028:             
    Line 2029:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2030:             __parser.AddParsedSubObject(__ctrl19)
    Line 2031:             
    Line 2032:             #End ExternalSource
    Line 2033:             
    Line 2034:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2035:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("   "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"             "))
    Line 2036:             
    Line 2037:             #End ExternalSource
    Line 2038:             Dim __ctrl20 As Global.System.Web.UI.HtmlControls.HtmlTableCell
    Line 2039:             
    Line 2040:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2041:             __ctrl20 = Me.__BuildControltd_SBRValue
    Line 2042:             
    Line 2043:             #End ExternalSource
    Line 2044:             
    Line 2045:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2046:             __parser.AddParsedSubObject(__ctrl20)
    Line 2047:             
    Line 2048:             #End ExternalSource
    Line 2049:             
    Line 2050:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2051:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("  "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <td align=""left"" valign=""top"">"))
    Line 2052:             
    Line 2053:             #End ExternalSource
    Line 2054:             Dim __ctrl21 As Global.System.Web.UI.WebControls.DropDownList
    Line 2055:             
    Line 2056:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2057:             __ctrl21 = Me.__BuildControlcboAssyType
    Line 2058:             
    Line 2059:             #End ExternalSource
    Line 2060:             
    Line 2061:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2062:             __parser.AddParsedSubObject(__ctrl21)
    Line 2063:             
    Line 2064:             #End ExternalSource
    Line 2065:             
    Line 2066:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2067:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("</td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    "&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <td align=""left"" valign=""top"">"))
    Line 2068:             
    Line 2069:             #End ExternalSource
    Line 2070:             Dim __ctrl22 As Global.System.Web.UI.WebControls.DropDownList
    Line 2071:             
    Line 2072:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2073:             __ctrl22 = Me.__BuildControlcboProduct
    Line 2074:             
    Line 2075:             #End ExternalSource
    Line 2076:             
    Line 2077:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2078:             __parser.AddParsedSubObject(__ctrl22)
    Line 2079:             
    Line 2080:             #End ExternalSource
    Line 2081:             
    Line 2082:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2083:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("</td>  "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"                <td align=""left"" valign=""top"">"))
    Line 2084:             
    Line 2085:             #End ExternalSource
    Line 2086:             Dim __ctrl23 As Global.System.Web.UI.WebControls.DropDownList
    Line 2087:             
    Line 2088:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2089:             __ctrl23 = Me.__BuildControlcboOperation
    Line 2090:             
    Line 2091:             #End ExternalSource
    Line 2092:             
    Line 2093:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2094:             __parser.AddParsedSubObject(__ctrl23)
    Line 2095:             
    Line 2096:             #End ExternalSource
    Line 2097:             
    Line 2098:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2099:             __parser.AddParsedSubObject(Me.CreateResourceBasedLiteralControl(3138, 345, true))
    Line 2100:             
    Line 2101:             #End ExternalSource
    Line 2102:             Dim __ctrl24 As Global.System.Web.UI.WebControls.DropDownList
    Line 2103:             
    Line 2104:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2105:             __ctrl24 = Me.__BuildControlcboMajor
    Line 2106:             
    Line 2107:             #End ExternalSource
    Line 2108:             
    Line 2109:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2110:             __parser.AddParsedSubObject(__ctrl24)
    Line 2111:             
    Line 2112:             #End ExternalSource
    Line 2113:             
    Line 2114:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2115:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("</td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&"                                    <td>Minor: "))
    Line 2116:             
    Line 2117:             #End ExternalSource
    Line 2118:             Dim __ctrl25 As Global.System.Web.UI.WebControls.DropDownList
    Line 2119:             
    Line 2120:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2121:             __ctrl25 = Me.__BuildControlcboMinor
    Line 2122:             
    Line 2123:             #End ExternalSource
    Line 2124:             
    Line 2125:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2126:             __parser.AddParsedSubObject(__ctrl25)
    Line 2127:             
    Line 2128:             #End ExternalSource
    Line 2129:             
    Line 2130:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2131:             __parser.AddParsedSubObject(Me.CreateResourceBasedLiteralControl(3483, 287, true))
    Line 2132:             
    Line 2133:             #End ExternalSource
    Line 2134:             Dim __ctrl26 As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 2135:             
    Line 2136:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2137:             __ctrl26 = Me.__BuildControlcmdView
    Line 2138:             
    Line 2139:             #End ExternalSource
    Line 2140:             
    Line 2141:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2142:             __parser.AddParsedSubObject(__ctrl26)
    Line 2143:             
    Line 2144:             #End ExternalSource
    Line 2145:             
    Line 2146:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2147:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("&nbsp;&nbsp;"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "))
    Line 2148:             
    Line 2149:             #End ExternalSource
    Line 2150:             Dim __ctrl27 As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 2151:             
    Line 2152:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2153:             __ctrl27 = Me.__BuildControlcmdClear
    Line 2154:             
    Line 2155:             #End ExternalSource
    Line 2156:             
    Line 2157:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2158:             __parser.AddParsedSubObject(__ctrl27)
    Line 2159:             
    Line 2160:             #End ExternalSource
    Line 2161:             
    Line 2162:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2163:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </td>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            <tr height=""10""><td></td></tr>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)& _ 
    Line 2164:                         ""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"            </table>"&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "))
    Line 2165:             
    Line 2166:             #End ExternalSource
    Line 2167:         End Sub
    Line 2168:         
    Line 2169:         Private Sub __BuildControl__control13(ByVal __ctrl As Infragistics.WebUI.[Shared].Style)
    Line 2170:             
    Line 2171:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2172:             __ctrl.CssClass = "descriptionPanelContent"
    Line 2173:             
    Line 2174:             #End ExternalSource
    Line 2175:             
    Line 2176:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2177:             __ctrl.BackColor = System.Drawing.Color.AliceBlue
    Line 2178:             
    Line 2179:             #End ExternalSource
    Line 2180:         End Sub
    Line 2181:         
    Line 2182:         Private Sub __BuildControl__control16(ByVal __ctrl As Infragistics.WebUI.[Shared].Style)
    Line 2183:             
    Line 2184:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2185:             __ctrl.CssClass = "descriptionPanelHeader"
    Line 2186:             
    Line 2187:             #End ExternalSource
    Line 2188:         End Sub
    Line 2189:         
    Line 2190:         Private Sub __BuildControl__control15(ByVal __ctrl As Infragistics.WebUI.Misc.HeaderAppearance)
    Line 2191:             
    Line 2192:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2193:             Me.__BuildControl__control16(__ctrl.Styles)
    Line 2194:             
    Line 2195:             #End ExternalSource
    Line 2196:         End Sub
    Line 2197:         
    Line 2198:         Private Sub __BuildControl__control14(ByVal __ctrl As Infragistics.WebUI.Misc.PanelHeader)
    Line 2199:             
    Line 2200:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2201:             __ctrl.Text = "Filtering Criteria"
    Line 2202:             
    Line 2203:             #End ExternalSource
    Line 2204:             
    Line 2205:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2206:             __ctrl.TextAlignment = Infragistics.WebUI.Misc.TextAlignment.Left
    Line 2207:             
    Line 2208:             #End ExternalSource
    Line 2209:             
    Line 2210:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2211:             Me.__BuildControl__control15(__ctrl.ExpandedAppearance)
    Line 2212:             
    Line 2213:             #End ExternalSource
    Line 2214:         End Sub
    Line 2215:         
    Line 2216:         Private Function __BuildControlwpCriteria() As Global.Infragistics.WebUI.Misc.WebPanel
    Line 2217:             Dim __ctrl As Global.Infragistics.WebUI.Misc.WebPanel
    Line 2218:             
    Line 2219:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2220:             __ctrl = New Global.Infragistics.WebUI.Misc.WebPanel
    Line 2221:             
    Line 2222:             #End ExternalSource
    Line 2223:             Me.wpCriteria = __ctrl
    Line 2224:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 2225:             
    Line 2226:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2227:             __ctrl.Template = New System.Web.UI.CompiledTemplateBuilder(AddressOf Me.__BuildControl__control6)
    Line 2228:             
    Line 2229:             #End ExternalSource
    Line 2230:             
    Line 2231:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2232:             __ctrl.ID = "wpCriteria"
    Line 2233:             
    Line 2234:             #End ExternalSource
    Line 2235:             
    Line 2236:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2237:             __ctrl.CssClass = "descriptionPanel"
    Line 2238:             
    Line 2239:             #End ExternalSource
    Line 2240:             
    Line 2241:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2242:             __ctrl.ToolTip = "Click arrow to the right to expand and close this description."
    Line 2243:             
    Line 2244:             #End ExternalSource
    Line 2245:             
    Line 2246:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2247:             Me.__BuildControl__control13(__ctrl.PanelStyle)
    Line 2248:             
    Line 2249:             #End ExternalSource
    Line 2250:             
    Line 2251:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",17)
    Line 2252:             Me.__BuildControl__control14(__ctrl.Header)
    Line 2253:             
    Line 2254:             #End ExternalSource
    Line 2255:             Return __ctrl
    Line 2256:         End Function
    Line 2257:         
    Line 2258:         Private Function __BuildControlobjExcel() As Global.Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter
    Line 2259:             Dim __ctrl As Global.Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter
    Line 2260:             
    Line 2261:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",142)
    Line 2262:             __ctrl = New Global.Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter
    Line 2263:             
    Line 2264:             #End ExternalSource
    Line 2265:             Me.objExcel = __ctrl
    Line 2266:             __ctrl.TemplateControl = Me
    Line 2267:             
    Line 2268:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",142)
    Line 2269:             __ctrl.ID = "objExcel"
    Line 2270:             
    Line 2271:             #End ExternalSource
    Line 2272:             Return __ctrl
    Line 2273:         End Function
    Line 2274:         
    Line 2275:         Private Sub __BuildControl__control18(ByVal __ctrl As Infragistics.WebUI.WebDataInput.ButtonRoundedCorners)
    Line 2276:             
    Line 2277:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2278:             __ctrl.MaxHeight = 23
    Line 2279:             
    Line 2280:             #End ExternalSource
    Line 2281:             
    Line 2282:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2283:             __ctrl.ImageUrl = "../Images/Infragistics/ig_butMac1.gif"
    Line 2284:             
    Line 2285:             #End ExternalSource
    Line 2286:             
    Line 2287:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2288:             __ctrl.MaxWidth = 500
    Line 2289:             
    Line 2290:             #End ExternalSource
    Line 2291:             
    Line 2292:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2293:             __ctrl.HoverImageUrl = "../Images/Infragistics/ig_butMac2.gif"
    Line 2294:             
    Line 2295:             #End ExternalSource
    Line 2296:             
    Line 2297:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2298:             __ctrl.RenderingType = Infragistics.WebUI.WebDataInput.ButtonRoundedCornersType.FileImages
    Line 2299:             
    Line 2300:             #End ExternalSource
    Line 2301:             
    Line 2302:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2303:             __ctrl.HeightOfBottomEdge = 0
    Line 2304:             
    Line 2305:             #End ExternalSource
    Line 2306:             
    Line 2307:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2308:             __ctrl.PressedImageUrl = "../Images/Infragistics/ig_butMac4.gif"
    Line 2309:             
    Line 2310:             #End ExternalSource
    Line 2311:             
    Line 2312:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2313:             __ctrl.WidthOfRightEdge = 30
    Line 2314:             
    Line 2315:             #End ExternalSource
    Line 2316:         End Sub
    Line 2317:         
    Line 2318:         Private Sub __BuildControl__control20(ByVal __ctrl As Infragistics.WebUI.[Shared].Style)
    Line 2319:             
    Line 2320:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2321:             __ctrl.ForeColor = CType(System.Drawing.Color.FromArgb(102, 102, 102),System.Drawing.Color)
    Line 2322:             
    Line 2323:             #End ExternalSource
    Line 2324:         End Sub
    Line 2325:         
    Line 2326:         Private Sub __BuildControl__control19(ByVal __ctrl As Infragistics.WebUI.WebControls.Buttons.ButtonAppearance)
    Line 2327:             
    Line 2328:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2329:             Me.__BuildControl__control20(__ctrl.Style)
    Line 2330:             
    Line 2331:             #End ExternalSource
    Line 2332:         End Sub
    Line 2333:         
    Line 2334:         Private Function __BuildControlcmdExcel() As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 2335:             Dim __ctrl As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 2336:             
    Line 2337:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2338:             __ctrl = New Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 2339:             
    Line 2340:             #End ExternalSource
    Line 2341:             Me.cmdExcel = __ctrl
    Line 2342:             __ctrl.TemplateControl = Me
    Line 2343:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 2344:             
    Line 2345:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2346:             __ctrl.ID = "cmdExcel"
    Line 2347:             
    Line 2348:             #End ExternalSource
    Line 2349:             
    Line 2350:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2351:             __ctrl.Text = "Excel"
    Line 2352:             
    Line 2353:             #End ExternalSource
    Line 2354:             
    Line 2355:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2356:             __ctrl.AutoSubmit = true
    Line 2357:             
    Line 2358:             #End ExternalSource
    Line 2359:             
    Line 2360:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2361:             __ctrl.UseBrowserDefaults = false
    Line 2362:             
    Line 2363:             #End ExternalSource
    Line 2364:             
    Line 2365:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2366:             Me.__BuildControl__control18(__ctrl.RoundedCorners)
    Line 2367:             
    Line 2368:             #End ExternalSource
    Line 2369:             
    Line 2370:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",143)
    Line 2371:             Me.__BuildControl__control19(__ctrl.Appearance)
    Line 2372:             
    Line 2373:             #End ExternalSource
    Line 2374:             Return __ctrl
    Line 2375:         End Function
    Line 2376:         
    Line 2377:         Private Sub __BuildControl__control23(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.AddNewRow)
    Line 2378:             
    Line 2379:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",150)
    Line 2380:             __ctrl.View = Infragistics.WebUI.UltraWebGrid.AddNewRowView.NotSet
    Line 2381:             
    Line 2382:             #End ExternalSource
    Line 2383:             
    Line 2384:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",150)
    Line 2385:             __ctrl.Visible = Infragistics.WebUI.UltraWebGrid.AddNewRowVisible.NotSet
    Line 2386:             
    Line 2387:             #End ExternalSource
    Line 2388:         End Sub
    Line 2389:         
    Line 2390:         Private Function __BuildControl__control22() As Global.Infragistics.WebUI.UltraWebGrid.UltraGridBand
    Line 2391:             Dim __ctrl As Global.Infragistics.WebUI.UltraWebGrid.UltraGridBand
    Line 2392:             
    Line 2393:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",150)
    Line 2394:             __ctrl = New Global.Infragistics.WebUI.UltraWebGrid.UltraGridBand
    Line 2395:             
    Line 2396:             #End ExternalSource
    Line 2397:             
    Line 2398:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",150)
    Line 2399:             Me.__BuildControl__control23(__ctrl.AddNewRow)
    Line 2400:             
    Line 2401:             #End ExternalSource
    Line 2402:             Return __ctrl
    Line 2403:         End Function
    Line 2404:         
    Line 2405:         Private Sub __BuildControl__control21(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.BandsCollection)
    Line 2406:             Dim __ctrl1 As Global.Infragistics.WebUI.UltraWebGrid.UltraGridBand
    Line 2407:             
    Line 2408:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2409:             __ctrl1 = Me.__BuildControl__control22
    Line 2410:             
    Line 2411:             #End ExternalSource
    Line 2412:             
    Line 2413:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2414:             __ctrl.Add(__ctrl1)
    Line 2415:             
    Line 2416:             #End ExternalSource
    Line 2417:         End Sub
    Line 2418:         
    Line 2419:         Private Sub __BuildControl__control26(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2420:             
    Line 2421:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2422:             __ctrl.ForeColor = System.Drawing.Color.White
    Line 2423:             
    Line 2424:             #End ExternalSource
    Line 2425:             
    Line 2426:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2427:             __ctrl.BackColor = CType(System.Drawing.Color.FromArgb(99, 114, 212),System.Drawing.Color)
    Line 2428:             
    Line 2429:             #End ExternalSource
    Line 2430:         End Sub
    Line 2431:         
    Line 2432:         Private Sub __BuildControl__control27(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2433:             
    Line 2434:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2435:             __ctrl.BackColor = CType(System.Drawing.Color.FromArgb(60, 127, 177),System.Drawing.Color)
    Line 2436:             
    Line 2437:             #End ExternalSource
    Line 2438:             
    Line 2439:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2440:             __ctrl.BackgroundImage = "../Images/Infragistics/groupBy_bg.jpg"
    Line 2441:             
    Line 2442:             #End ExternalSource
    Line 2443:             
    Line 2444:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2445:             __ctrl.BorderColor = System.Drawing.SystemColors.Window
    Line 2446:             
    Line 2447:             #End ExternalSource
    Line 2448:             
    Line 2449:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2450:             __ctrl.Font.Bold = true
    Line 2451:             
    Line 2452:             #End ExternalSource
    Line 2453:             
    Line 2454:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2455:             __ctrl.ForeColor = CType(System.Drawing.Color.FromArgb(60, 127, 177),System.Drawing.Color)
    Line 2456:             
    Line 2457:             #End ExternalSource
    Line 2458:         End Sub
    Line 2459:         
    Line 2460:         Private Sub __BuildControl__control25(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GroupByBox)
    Line 2461:             
    Line 2462:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2463:             __ctrl.Hidden = true
    Line 2464:             
    Line 2465:             #End ExternalSource
    Line 2466:             
    Line 2467:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2468:             Me.__BuildControl__control26(__ctrl.BandLabelStyle)
    Line 2469:             
    Line 2470:             #End ExternalSource
    Line 2471:             
    Line 2472:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2473:             Me.__BuildControl__control27(__ctrl.BoxStyle)
    Line 2474:             
    Line 2475:             #End ExternalSource
    Line 2476:         End Sub
    Line 2477:         
    Line 2478:         Private Sub __BuildControl__control28(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2479:             
    Line 2480:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2481:             __ctrl.ForeColor = System.Drawing.Color.AliceBlue
    Line 2482:             
    Line 2483:             #End ExternalSource
    Line 2484:             
    Line 2485:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2486:             __ctrl.BackColor = CType(System.Drawing.Color.FromArgb(149, 185, 240),System.Drawing.Color)
    Line 2487:             
    Line 2488:             #End ExternalSource
    Line 2489:         End Sub
    Line 2490:         
    Line 2491:         Private Sub __BuildControl__control29(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.ActivationObject)
    Line 2492:             
    Line 2493:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2494:             __ctrl.BorderColor = System.Drawing.Color.Empty
    Line 2495:             
    Line 2496:             #End ExternalSource
    Line 2497:             
    Line 2498:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2499:             __ctrl.BorderWidth = System.Web.UI.WebControls.Unit.Empty
    Line 2500:             
    Line 2501:             #End ExternalSource
    Line 2502:         End Sub
    Line 2503:         
    Line 2504:         Private Sub __BuildControl__control31(ByVal __ctrl As Infragistics.WebUI.[Shared].BorderDetails)
    Line 2505:             
    Line 2506:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2507:             __ctrl.ColorTop = System.Drawing.Color.White
    Line 2508:             
    Line 2509:             #End ExternalSource
    Line 2510:             
    Line 2511:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2512:             __ctrl.WidthLeft = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2513:             
    Line 2514:             #End ExternalSource
    Line 2515:             
    Line 2516:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2517:             __ctrl.WidthTop = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2518:             
    Line 2519:             #End ExternalSource
    Line 2520:             
    Line 2521:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2522:             __ctrl.ColorLeft = System.Drawing.Color.White
    Line 2523:             
    Line 2524:             #End ExternalSource
    Line 2525:         End Sub
    Line 2526:         
    Line 2527:         Private Sub __BuildControl__control30(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2528:             
    Line 2529:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2530:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2531:             
    Line 2532:             #End ExternalSource
    Line 2533:             
    Line 2534:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2535:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid
    Line 2536:             
    Line 2537:             #End ExternalSource
    Line 2538:             
    Line 2539:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2540:             __ctrl.Height = New System.Web.UI.WebControls.Unit(20, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2541:             
    Line 2542:             #End ExternalSource
    Line 2543:             
    Line 2544:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2545:             __ctrl.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Right
    Line 2546:             
    Line 2547:             #End ExternalSource
    Line 2548:             
    Line 2549:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2550:             Me.__BuildControl__control31(__ctrl.BorderDetails)
    Line 2551:             
    Line 2552:             #End ExternalSource
    Line 2553:         End Sub
    Line 2554:         
    Line 2555:         Private Sub __BuildControl__control33(ByVal __ctrl As Infragistics.WebUI.[Shared].BorderDetails)
    Line 2556:             
    Line 2557:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2558:             __ctrl.ColorLeft = System.Drawing.SystemColors.Window
    Line 2559:             
    Line 2560:             #End ExternalSource
    Line 2561:             
    Line 2562:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2563:             __ctrl.ColorTop = System.Drawing.SystemColors.Window
    Line 2564:             
    Line 2565:             #End ExternalSource
    Line 2566:         End Sub
    Line 2567:         
    Line 2568:         Private Sub __BuildControl__control34(ByVal __ctrl As Infragistics.WebUI.[Shared].Padding)
    Line 2569:             
    Line 2570:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2571:             __ctrl.Left = New System.Web.UI.WebControls.Unit(3, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2572:             
    Line 2573:             #End ExternalSource
    Line 2574:         End Sub
    Line 2575:         
    Line 2576:         Private Sub __BuildControl__control32(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2577:             
    Line 2578:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2579:             __ctrl.BackColor = System.Drawing.SystemColors.Window
    Line 2580:             
    Line 2581:             #End ExternalSource
    Line 2582:             
    Line 2583:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2584:             __ctrl.BorderColor = System.Drawing.Color.Silver
    Line 2585:             
    Line 2586:             #End ExternalSource
    Line 2587:             
    Line 2588:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2589:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid
    Line 2590:             
    Line 2591:             #End ExternalSource
    Line 2592:             
    Line 2593:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2594:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2595:             
    Line 2596:             #End ExternalSource
    Line 2597:             
    Line 2598:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2599:             __ctrl.Font.Names = New String() {"Microsoft Sans Serif"}
    Line 2600:             
    Line 2601:             #End ExternalSource
    Line 2602:             
    Line 2603:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2604:             __ctrl.Font.Size = New System.Web.UI.WebControls.FontUnit(New System.Web.UI.WebControls.Unit(8.25, System.Web.UI.WebControls.UnitType.Point))
    Line 2605:             
    Line 2606:             #End ExternalSource
    Line 2607:             
    Line 2608:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2609:             __ctrl.ForeColor = System.Drawing.Color.Black
    Line 2610:             
    Line 2611:             #End ExternalSource
    Line 2612:             
    Line 2613:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2614:             Me.__BuildControl__control33(__ctrl.BorderDetails)
    Line 2615:             
    Line 2616:             #End ExternalSource
    Line 2617:             
    Line 2618:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2619:             Me.__BuildControl__control34(__ctrl.Padding)
    Line 2620:             
    Line 2621:             #End ExternalSource
    Line 2622:         End Sub
    Line 2623:         
    Line 2624:         Private Sub __BuildControl__control37(ByVal __ctrl As Infragistics.WebUI.[Shared].Padding)
    Line 2625:             
    Line 2626:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2627:             __ctrl.Left = New System.Web.UI.WebControls.Unit(2, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2628:             
    Line 2629:             #End ExternalSource
    Line 2630:         End Sub
    Line 2631:         
    Line 2632:         Private Sub __BuildControl__control36(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2633:             
    Line 2634:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2635:             __ctrl.BackColor = System.Drawing.Color.White
    Line 2636:             
    Line 2637:             #End ExternalSource
    Line 2638:             
    Line 2639:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2640:             __ctrl.BorderColor = System.Drawing.Color.Silver
    Line 2641:             
    Line 2642:             #End ExternalSource
    Line 2643:             
    Line 2644:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2645:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid
    Line 2646:             
    Line 2647:             #End ExternalSource
    Line 2648:             
    Line 2649:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2650:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2651:             
    Line 2652:             #End ExternalSource
    Line 2653:             
    Line 2654:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2655:             __ctrl.CustomRules = "overflow:auto;"
    Line 2656:             
    Line 2657:             #End ExternalSource
    Line 2658:             
    Line 2659:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2660:             __ctrl.Font.Names = New String() {"Verdana", "Arial", "Helvetica", "sans-serif"}
    Line 2661:             
    Line 2662:             #End ExternalSource
    Line 2663:             
    Line 2664:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2665:             __ctrl.Font.Size = New System.Web.UI.WebControls.FontUnit(New System.Web.UI.WebControls.Unit(11, System.Web.UI.WebControls.UnitType.Pixel))
    Line 2666:             
    Line 2667:             #End ExternalSource
    Line 2668:             
    Line 2669:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2670:             Me.__BuildControl__control37(__ctrl.Padding)
    Line 2671:             
    Line 2672:             #End ExternalSource
    Line 2673:         End Sub
    Line 2674:         
    Line 2675:         Private Sub __BuildControl__control38(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2676:             
    Line 2677:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2678:             __ctrl.BackColor = System.Drawing.Color.AntiqueWhite
    Line 2679:             
    Line 2680:             #End ExternalSource
    Line 2681:             
    Line 2682:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2683:             __ctrl.ForeColor = System.Drawing.Color.Coral
    Line 2684:             
    Line 2685:             #End ExternalSource
    Line 2686:             
    Line 2687:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2688:             __ctrl.Height = New System.Web.UI.WebControls.Unit(25, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2689:             
    Line 2690:             #End ExternalSource
    Line 2691:         End Sub
    Line 2692:         
    Line 2693:         Private Sub __BuildControl__control40(ByVal __ctrl As Infragistics.WebUI.[Shared].Padding)
    Line 2694:             
    Line 2695:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2696:             __ctrl.Left = New System.Web.UI.WebControls.Unit(2, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2697:             
    Line 2698:             #End ExternalSource
    Line 2699:         End Sub
    Line 2700:         
    Line 2701:         Private Sub __BuildControl__control39(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2702:             
    Line 2703:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2704:             __ctrl.BackColor = System.Drawing.Color.WhiteSmoke
    Line 2705:             
    Line 2706:             #End ExternalSource
    Line 2707:             
    Line 2708:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2709:             __ctrl.BorderColor = System.Drawing.Color.Silver
    Line 2710:             
    Line 2711:             #End ExternalSource
    Line 2712:             
    Line 2713:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2714:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid
    Line 2715:             
    Line 2716:             #End ExternalSource
    Line 2717:             
    Line 2718:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2719:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2720:             
    Line 2721:             #End ExternalSource
    Line 2722:             
    Line 2723:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2724:             __ctrl.CustomRules = "overflow:auto;"
    Line 2725:             
    Line 2726:             #End ExternalSource
    Line 2727:             
    Line 2728:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2729:             __ctrl.Font.Names = New String() {"Verdana", "Arial", "Helvetica", "sans-serif"}
    Line 2730:             
    Line 2731:             #End ExternalSource
    Line 2732:             
    Line 2733:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2734:             __ctrl.Font.Size = New System.Web.UI.WebControls.FontUnit(New System.Web.UI.WebControls.Unit(11, System.Web.UI.WebControls.UnitType.Pixel))
    Line 2735:             
    Line 2736:             #End ExternalSource
    Line 2737:             
    Line 2738:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2739:             __ctrl.Height = New System.Web.UI.WebControls.Unit(300, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2740:             
    Line 2741:             #End ExternalSource
    Line 2742:             
    Line 2743:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2744:             __ctrl.Width = New System.Web.UI.WebControls.Unit(200, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2745:             
    Line 2746:             #End ExternalSource
    Line 2747:             
    Line 2748:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2749:             Me.__BuildControl__control40(__ctrl.Padding)
    Line 2750:             
    Line 2751:             #End ExternalSource
    Line 2752:         End Sub
    Line 2753:         
    Line 2754:         Private Sub __BuildControl__control35(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.FilterOptions)
    Line 2755:             
    Line 2756:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2757:             __ctrl.AllowRowFiltering = Infragistics.WebUI.UltraWebGrid.RowFiltering.No
    Line 2758:             
    Line 2759:             #End ExternalSource
    Line 2760:             
    Line 2761:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2762:             Me.__BuildControl__control36(__ctrl.FilterOperandDropDownStyle)
    Line 2763:             
    Line 2764:             #End ExternalSource
    Line 2765:             
    Line 2766:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2767:             Me.__BuildControl__control38(__ctrl.FilterHighlightRowStyle)
    Line 2768:             
    Line 2769:             #End ExternalSource
    Line 2770:             
    Line 2771:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2772:             Me.__BuildControl__control39(__ctrl.FilterDropDownStyle)
    Line 2773:             
    Line 2774:             #End ExternalSource
    Line 2775:         End Sub
    Line 2776:         
    Line 2777:         Private Sub __BuildControl__control42(ByVal __ctrl As Infragistics.WebUI.[Shared].BorderDetails)
    Line 2778:             
    Line 2779:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2780:             __ctrl.WidthBottom = New System.Web.UI.WebControls.Unit(2, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2781:             
    Line 2782:             #End ExternalSource
    Line 2783:         End Sub
    Line 2784:         
    Line 2785:         Private Sub __BuildControl__control41(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2786:             
    Line 2787:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2788:             __ctrl.VerticalAlign = System.Web.UI.WebControls.VerticalAlign.Middle
    Line 2789:             
    Line 2790:             #End ExternalSource
    Line 2791:             
    Line 2792:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2793:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2794:             
    Line 2795:             #End ExternalSource
    Line 2796:             
    Line 2797:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2798:             __ctrl.BorderColor = CType(System.Drawing.Color.FromArgb(136, 176, 228),System.Drawing.Color)
    Line 2799:             
    Line 2800:             #End ExternalSource
    Line 2801:             
    Line 2802:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2803:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid
    Line 2804:             
    Line 2805:             #End ExternalSource
    Line 2806:             
    Line 2807:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2808:             __ctrl.HorizontalAlign = System.Web.UI.WebControls.HorizontalAlign.Center
    Line 2809:             
    Line 2810:             #End ExternalSource
    Line 2811:             
    Line 2812:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2813:             __ctrl.ForeColor = System.Drawing.Color.SteelBlue
    Line 2814:             
    Line 2815:             #End ExternalSource
    Line 2816:             
    Line 2817:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2818:             __ctrl.CustomRules = "line-height: 10px;"
    Line 2819:             
    Line 2820:             #End ExternalSource
    Line 2821:             
    Line 2822:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2823:             __ctrl.BackColor = CType(System.Drawing.Color.FromArgb(207, 221, 240),System.Drawing.Color)
    Line 2824:             
    Line 2825:             #End ExternalSource
    Line 2826:             
    Line 2827:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2828:             __ctrl.Height = New System.Web.UI.WebControls.Unit(25, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2829:             
    Line 2830:             #End ExternalSource
    Line 2831:             
    Line 2832:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2833:             Me.__BuildControl__control42(__ctrl.BorderDetails)
    Line 2834:             
    Line 2835:             #End ExternalSource
    Line 2836:         End Sub
    Line 2837:         
    Line 2838:         Private Sub __BuildControl__control43(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2839:             
    Line 2840:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2841:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.None
    Line 2842:             
    Line 2843:             #End ExternalSource
    Line 2844:             
    Line 2845:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2846:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(0, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2847:             
    Line 2848:             #End ExternalSource
    Line 2849:         End Sub
    Line 2850:         
    Line 2851:         Private Sub __BuildControl__control44(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2852:             
    Line 2853:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2854:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.None
    Line 2855:             
    Line 2856:             #End ExternalSource
    Line 2857:             
    Line 2858:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2859:             __ctrl.BackColor = System.Drawing.Color.PapayaWhip
    Line 2860:             
    Line 2861:             #End ExternalSource
    Line 2862:         End Sub
    Line 2863:         
    Line 2864:         Private Sub __BuildControl__control45(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2865:             
    Line 2866:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2867:             __ctrl.BackColor = System.Drawing.Color.White
    Line 2868:             
    Line 2869:             #End ExternalSource
    Line 2870:             
    Line 2871:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2872:             __ctrl.BorderColor = System.Drawing.SystemColors.InactiveCaption
    Line 2873:             
    Line 2874:             #End ExternalSource
    Line 2875:             
    Line 2876:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2877:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid
    Line 2878:             
    Line 2879:             #End ExternalSource
    Line 2880:             
    Line 2881:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2882:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2883:             
    Line 2884:             #End ExternalSource
    Line 2885:             
    Line 2886:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2887:             __ctrl.Font.Names = New String() {"Microsoft Sans Serif"}
    Line 2888:             
    Line 2889:             #End ExternalSource
    Line 2890:             
    Line 2891:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2892:             __ctrl.Font.Size = New System.Web.UI.WebControls.FontUnit(New System.Web.UI.WebControls.Unit(8.25, System.Web.UI.WebControls.UnitType.Point))
    Line 2893:             
    Line 2894:             #End ExternalSource
    Line 2895:             
    Line 2896:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2897:             __ctrl.Font.Bold = false
    Line 2898:             
    Line 2899:             #End ExternalSource
    Line 2900:             
    Line 2901:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2902:             __ctrl.Height = New System.Web.UI.WebControls.Unit(450, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2903:             
    Line 2904:             #End ExternalSource
    Line 2905:             
    Line 2906:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2907:             __ctrl.Width = New System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Percentage)
    Line 2908:             
    Line 2909:             #End ExternalSource
    Line 2910:             
    Line 2911:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2912:             __ctrl.ForeColor = System.Drawing.Color.Black
    Line 2913:             
    Line 2914:             #End ExternalSource
    Line 2915:         End Sub
    Line 2916:         
    Line 2917:         Private Sub __BuildControl__control48(ByVal __ctrl As Infragistics.WebUI.[Shared].BorderDetails)
    Line 2918:             
    Line 2919:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2920:             __ctrl.ColorLeft = System.Drawing.Color.White
    Line 2921:             
    Line 2922:             #End ExternalSource
    Line 2923:             
    Line 2924:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2925:             __ctrl.ColorTop = System.Drawing.Color.White
    Line 2926:             
    Line 2927:             #End ExternalSource
    Line 2928:             
    Line 2929:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2930:             __ctrl.WidthLeft = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2931:             
    Line 2932:             #End ExternalSource
    Line 2933:             
    Line 2934:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2935:             __ctrl.WidthTop = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2936:             
    Line 2937:             #End ExternalSource
    Line 2938:         End Sub
    Line 2939:         
    Line 2940:         Private Sub __BuildControl__control49(ByVal __ctrl As Infragistics.WebUI.[Shared].Padding)
    Line 2941:             
    Line 2942:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2943:             __ctrl.Left = New System.Web.UI.WebControls.Unit(0, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2944:             
    Line 2945:             #End ExternalSource
    Line 2946:             
    Line 2947:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2948:             __ctrl.Top = New System.Web.UI.WebControls.Unit(2, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2949:             
    Line 2950:             #End ExternalSource
    Line 2951:         End Sub
    Line 2952:         
    Line 2953:         Private Sub __BuildControl__control47(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 2954:             
    Line 2955:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2956:             __ctrl.BackColor = CType(System.Drawing.Color.FromArgb(207, 221, 240),System.Drawing.Color)
    Line 2957:             
    Line 2958:             #End ExternalSource
    Line 2959:             
    Line 2960:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2961:             __ctrl.BorderColor = CType(System.Drawing.Color.FromArgb(136, 176, 228),System.Drawing.Color)
    Line 2962:             
    Line 2963:             #End ExternalSource
    Line 2964:             
    Line 2965:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2966:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid
    Line 2967:             
    Line 2968:             #End ExternalSource
    Line 2969:             
    Line 2970:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2971:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 2972:             
    Line 2973:             #End ExternalSource
    Line 2974:             
    Line 2975:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2976:             __ctrl.ForeColor = System.Drawing.Color.Black
    Line 2977:             
    Line 2978:             #End ExternalSource
    Line 2979:             
    Line 2980:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2981:             Me.__BuildControl__control48(__ctrl.BorderDetails)
    Line 2982:             
    Line 2983:             #End ExternalSource
    Line 2984:             
    Line 2985:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2986:             Me.__BuildControl__control49(__ctrl.Padding)
    Line 2987:             
    Line 2988:             #End ExternalSource
    Line 2989:         End Sub
    Line 2990:         
    Line 2991:         Private Sub __BuildControl__control46(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.Pager)
    Line 2992:             
    Line 2993:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2994:             __ctrl.PrevText = "Previous"
    Line 2995:             
    Line 2996:             #End ExternalSource
    Line 2997:             
    Line 2998:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 2999:             __ctrl.PageSize = 10
    Line 3000:             
    Line 3001:             #End ExternalSource
    Line 3002:             
    Line 3003:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3004:             __ctrl.Pattern = "Page [default]"
    Line 3005:             
    Line 3006:             #End ExternalSource
    Line 3007:             
    Line 3008:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3009:             __ctrl.Alignment = Infragistics.WebUI.UltraWebGrid.PagerAlignment.Center
    Line 3010:             
    Line 3011:             #End ExternalSource
    Line 3012:             
    Line 3013:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3014:             Me.__BuildControl__control47(__ctrl.PagerStyle)
    Line 3015:             
    Line 3016:             #End ExternalSource
    Line 3017:         End Sub
    Line 3018:         
    Line 3019:         Private Sub __BuildControl__control52(ByVal __ctrl As Infragistics.WebUI.[Shared].BorderDetails)
    Line 3020:             
    Line 3021:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3022:             __ctrl.ColorLeft = System.Drawing.Color.White
    Line 3023:             
    Line 3024:             #End ExternalSource
    Line 3025:             
    Line 3026:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3027:             __ctrl.ColorTop = System.Drawing.Color.White
    Line 3028:             
    Line 3029:             #End ExternalSource
    Line 3030:             
    Line 3031:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3032:             __ctrl.WidthLeft = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 3033:             
    Line 3034:             #End ExternalSource
    Line 3035:             
    Line 3036:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3037:             __ctrl.WidthTop = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 3038:             
    Line 3039:             #End ExternalSource
    Line 3040:         End Sub
    Line 3041:         
    Line 3042:         Private Sub __BuildControl__control51(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.GridItemStyle)
    Line 3043:             
    Line 3044:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3045:             __ctrl.BackColor = System.Drawing.SystemColors.Window
    Line 3046:             
    Line 3047:             #End ExternalSource
    Line 3048:             
    Line 3049:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3050:             __ctrl.BorderColor = System.Drawing.SystemColors.InactiveCaption
    Line 3051:             
    Line 3052:             #End ExternalSource
    Line 3053:             
    Line 3054:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3055:             __ctrl.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid
    Line 3056:             
    Line 3057:             #End ExternalSource
    Line 3058:             
    Line 3059:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3060:             __ctrl.BorderWidth = New System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel)
    Line 3061:             
    Line 3062:             #End ExternalSource
    Line 3063:             
    Line 3064:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3065:             Me.__BuildControl__control52(__ctrl.BorderDetails)
    Line 3066:             
    Line 3067:             #End ExternalSource
    Line 3068:         End Sub
    Line 3069:         
    Line 3070:         Private Sub __BuildControl__control50(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.AddNewBox)
    Line 3071:             
    Line 3072:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3073:             Me.__BuildControl__control51(__ctrl.BoxStyle)
    Line 3074:             
    Line 3075:             #End ExternalSource
    Line 3076:         End Sub
    Line 3077:         
    Line 3078:         Private Sub __BuildControl__control54(ByVal __ctrl As Infragistics.WebUI.WebControls.SimpleImage)
    Line 3079:             
    Line 3080:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3081:             __ctrl.Url = "../Images/Infragistics/ig_treeXPMinus.GIF"
    Line 3082:             
    Line 3083:             #End ExternalSource
    Line 3084:         End Sub
    Line 3085:         
    Line 3086:         Private Sub __BuildControl__control55(ByVal __ctrl As Infragistics.WebUI.WebControls.SimpleImage)
    Line 3087:             
    Line 3088:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3089:             __ctrl.Url = "../Images/Infragistics/ig_treeXPPlus.GIF"
    Line 3090:             
    Line 3091:             #End ExternalSource
    Line 3092:         End Sub
    Line 3093:         
    Line 3094:         Private Function __BuildControl__control53() As Global.Infragistics.WebUI.UltraWebGrid.ImageUrlsEx
    Line 3095:             Dim __ctrl As Global.Infragistics.WebUI.UltraWebGrid.ImageUrlsEx
    Line 3096:             
    Line 3097:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3098:             __ctrl = New Global.Infragistics.WebUI.UltraWebGrid.ImageUrlsEx
    Line 3099:             
    Line 3100:             #End ExternalSource
    Line 3101:             
    Line 3102:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3103:             Me.__BuildControl__control54(__ctrl.CollapseImage)
    Line 3104:             
    Line 3105:             #End ExternalSource
    Line 3106:             
    Line 3107:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3108:             Me.__BuildControl__control55(__ctrl.ExpandImage)
    Line 3109:             
    Line 3110:             #End ExternalSource
    Line 3111:             Return __ctrl
    Line 3112:         End Function
    Line 3113:         
    Line 3114:         Private Sub __BuildControl__control24(ByVal __ctrl As Infragistics.WebUI.UltraWebGrid.UltraGridLayout)
    Line 3115:             
    Line 3116:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3117:             __ctrl.AllowColSizingDefault = Infragistics.WebUI.UltraWebGrid.AllowSizing.Free
    Line 3118:             
    Line 3119:             #End ExternalSource
    Line 3120:             
    Line 3121:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3122:             __ctrl.BorderCollapseDefault = Infragistics.WebUI.UltraWebGrid.BorderCollapse.Separate
    Line 3123:             
    Line 3124:             #End ExternalSource
    Line 3125:             
    Line 3126:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3127:             __ctrl.Name = "dgResult"
    Line 3128:             
    Line 3129:             #End ExternalSource
    Line 3130:             
    Line 3131:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3132:             __ctrl.RowHeightDefault = New System.Web.UI.WebControls.Unit(20, System.Web.UI.WebControls.UnitType.Pixel)
    Line 3133:             
    Line 3134:             #End ExternalSource
    Line 3135:             
    Line 3136:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3137:             __ctrl.SelectTypeRowDefault = Infragistics.WebUI.UltraWebGrid.SelectType.[Single]
    Line 3138:             
    Line 3139:             #End ExternalSource
    Line 3140:             
    Line 3141:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3142:             __ctrl.StationaryMargins = Infragistics.WebUI.UltraWebGrid.StationaryMargins.Header
    Line 3143:             
    Line 3144:             #End ExternalSource
    Line 3145:             
    Line 3146:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3147:             __ctrl.TableLayout = Infragistics.WebUI.UltraWebGrid.TableLayout.Fixed
    Line 3148:             
    Line 3149:             #End ExternalSource
    Line 3150:             
    Line 3151:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3152:             __ctrl.Version = "4.00"
    Line 3153:             
    Line 3154:             #End ExternalSource
    Line 3155:             
    Line 3156:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3157:             __ctrl.NoDataMessage = ""
    Line 3158:             
    Line 3159:             #End ExternalSource
    Line 3160:             
    Line 3161:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3162:             __ctrl.RowSizingDefault = Infragistics.WebUI.UltraWebGrid.AllowSizing.Free
    Line 3163:             
    Line 3164:             #End ExternalSource
    Line 3165:             
    Line 3166:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3167:             __ctrl.ColFootersVisibleDefault = Infragistics.WebUI.UltraWebGrid.ShowMarginInfo.Yes
    Line 3168:             
    Line 3169:             #End ExternalSource
    Line 3170:             
    Line 3171:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3172:             Me.__BuildControl__control25(__ctrl.GroupByBox)
    Line 3173:             
    Line 3174:             #End ExternalSource
    Line 3175:             
    Line 3176:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3177:             Me.__BuildControl__control28(__ctrl.GroupByRowStyleDefault)
    Line 3178:             
    Line 3179:             #End ExternalSource
    Line 3180:             
    Line 3181:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3182:             Me.__BuildControl__control29(__ctrl.ActivationObject)
    Line 3183:             
    Line 3184:             #End ExternalSource
    Line 3185:             
    Line 3186:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3187:             Me.__BuildControl__control30(__ctrl.FooterStyleDefault)
    Line 3188:             
    Line 3189:             #End ExternalSource
    Line 3190:             
    Line 3191:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3192:             Me.__BuildControl__control32(__ctrl.RowStyleDefault)
    Line 3193:             
    Line 3194:             #End ExternalSource
    Line 3195:             
    Line 3196:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3197:             Me.__BuildControl__control35(__ctrl.FilterOptionsDefault)
    Line 3198:             
    Line 3199:             #End ExternalSource
    Line 3200:             
    Line 3201:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3202:             Me.__BuildControl__control41(__ctrl.HeaderStyleDefault)
    Line 3203:             
    Line 3204:             #End ExternalSource
    Line 3205:             
    Line 3206:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3207:             Me.__BuildControl__control43(__ctrl.EditCellStyleDefault)
    Line 3208:             
    Line 3209:             #End ExternalSource
    Line 3210:             
    Line 3211:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3212:             Me.__BuildControl__control44(__ctrl.SelectedRowStyleDefault)
    Line 3213:             
    Line 3214:             #End ExternalSource
    Line 3215:             
    Line 3216:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3217:             Me.__BuildControl__control45(__ctrl.FrameStyle)
    Line 3218:             
    Line 3219:             #End ExternalSource
    Line 3220:             
    Line 3221:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3222:             Me.__BuildControl__control46(__ctrl.Pager)
    Line 3223:             
    Line 3224:             #End ExternalSource
    Line 3225:             
    Line 3226:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3227:             Me.__BuildControl__control50(__ctrl.AddNewBox)
    Line 3228:             
    Line 3229:             #End ExternalSource
    Line 3230:             Dim __ctrl1 As Global.Infragistics.WebUI.UltraWebGrid.ImageUrlsEx
    Line 3231:             
    Line 3232:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3233:             __ctrl1 = Me.__BuildControl__control53
    Line 3234:             
    Line 3235:             #End ExternalSource
    Line 3236:             
    Line 3237:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3238:             __ctrl.Images = __ctrl1
    Line 3239:             
    Line 3240:             #End ExternalSource
    Line 3241:         End Sub
    Line 3242:         
    Line 3243:         Private Function __BuildControldgResult() As Global.Infragistics.WebUI.UltraWebGrid.UltraWebGrid
    Line 3244:             Dim __ctrl As Global.Infragistics.WebUI.UltraWebGrid.UltraWebGrid
    Line 3245:             
    Line 3246:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3247:             __ctrl = New Global.Infragistics.WebUI.UltraWebGrid.UltraWebGrid
    Line 3248:             
    Line 3249:             #End ExternalSource
    Line 3250:             Me.dgResult = __ctrl
    Line 3251:             __ctrl.TemplateControl = Me
    Line 3252:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 3253:             
    Line 3254:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3255:             __ctrl.ID = "dgResult"
    Line 3256:             
    Line 3257:             #End ExternalSource
    Line 3258:             
    Line 3259:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3260:             __ctrl.Height = New System.Web.UI.WebControls.Unit(450, System.Web.UI.WebControls.UnitType.Pixel)
    Line 3261:             
    Line 3262:             #End ExternalSource
    Line 3263:             
    Line 3264:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3265:             __ctrl.Width = New System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Percentage)
    Line 3266:             
    Line 3267:             #End ExternalSource
    Line 3268:             
    Line 3269:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3270:             Me.__BuildControl__control21(__ctrl.Bands)
    Line 3271:             
    Line 3272:             #End ExternalSource
    Line 3273:             
    Line 3274:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",148)
    Line 3275:             Me.__BuildControl__control24(__ctrl.DisplayLayout)
    Line 3276:             
    Line 3277:             #End ExternalSource
    Line 3278:             Return __ctrl
    Line 3279:         End Function
    Line 3280:         
    Line 3281:         Private Sub __BuildControl__control17(ByVal __ctrl As System.Web.UI.Control)
    Line 3282:             Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 3283:             
    Line 3284:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3285:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"        "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"        "))
    Line 3286:             
    Line 3287:             #End ExternalSource
    Line 3288:             Dim __ctrl1 As Global.Infragistics.WebUI.UltraWebGrid.ExcelExport.UltraWebGridExcelExporter
    Line 3289:             
    Line 3290:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3291:             __ctrl1 = Me.__BuildControlobjExcel
    Line 3292:             
    Line 3293:             #End ExternalSource
    Line 3294:             
    Line 3295:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3296:             __parser.AddParsedSubObject(__ctrl1)
    Line 3297:             
    Line 3298:             #End ExternalSource
    Line 3299:             
    Line 3300:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3301:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"        "))
    Line 3302:             
    Line 3303:             #End ExternalSource
    Line 3304:             Dim __ctrl2 As Global.Infragistics.WebUI.WebDataInput.WebImageButton
    Line 3305:             
    Line 3306:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3307:             __ctrl2 = Me.__BuildControlcmdExcel
    Line 3308:             
    Line 3309:             #End ExternalSource
    Line 3310:             
    Line 3311:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3312:             __parser.AddParsedSubObject(__ctrl2)
    Line 3313:             
    Line 3314:             #End ExternalSource
    Line 3315:             
    Line 3316:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3317:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("        "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"        "))
    Line 3318:             
    Line 3319:             #End ExternalSource
    Line 3320:             Dim __ctrl3 As Global.Infragistics.WebUI.UltraWebGrid.UltraWebGrid
    Line 3321:             
    Line 3322:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3323:             __ctrl3 = Me.__BuildControldgResult
    Line 3324:             
    Line 3325:             #End ExternalSource
    Line 3326:             
    Line 3327:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3328:             __parser.AddParsedSubObject(__ctrl3)
    Line 3329:             
    Line 3330:             #End ExternalSource
    Line 3331:             
    Line 3332:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3333:             __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("                      "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "))
    Line 3334:             
    Line 3335:             #End ExternalSource
    Line 3336:         End Sub
    Line 3337:         
    Line 3338:         Private Sub __BuildControl__control56(ByVal __ctrl As Infragistics.WebUI.[Shared].Style)
    Line 3339:             
    Line 3340:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3341:             __ctrl.CssClass = "descriptionPanelContent"
    Line 3342:             
    Line 3343:             #End ExternalSource
    Line 3344:         End Sub
    Line 3345:         
    Line 3346:         Private Sub __BuildControl__control59(ByVal __ctrl As Infragistics.WebUI.[Shared].Style)
    Line 3347:             
    Line 3348:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3349:             __ctrl.CssClass = "descriptionPanelHeader"
    Line 3350:             
    Line 3351:             #End ExternalSource
    Line 3352:         End Sub
    Line 3353:         
    Line 3354:         Private Sub __BuildControl__control58(ByVal __ctrl As Infragistics.WebUI.Misc.HeaderAppearance)
    Line 3355:             
    Line 3356:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3357:             Me.__BuildControl__control59(__ctrl.Styles)
    Line 3358:             
    Line 3359:             #End ExternalSource
    Line 3360:         End Sub
    Line 3361:         
    Line 3362:         Private Sub __BuildControl__control57(ByVal __ctrl As Infragistics.WebUI.Misc.PanelHeader)
    Line 3363:             
    Line 3364:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3365:             __ctrl.Text = "Search Result"
    Line 3366:             
    Line 3367:             #End ExternalSource
    Line 3368:             
    Line 3369:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3370:             __ctrl.TextAlignment = Infragistics.WebUI.Misc.TextAlignment.Left
    Line 3371:             
    Line 3372:             #End ExternalSource
    Line 3373:             
    Line 3374:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3375:             Me.__BuildControl__control58(__ctrl.ExpandedAppearance)
    Line 3376:             
    Line 3377:             #End ExternalSource
    Line 3378:         End Sub
    Line 3379:         
    Line 3380:         Private Function __BuildControlwpResult() As Global.Infragistics.WebUI.Misc.WebPanel
    Line 3381:             Dim __ctrl As Global.Infragistics.WebUI.Misc.WebPanel
    Line 3382:             
    Line 3383:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3384:             __ctrl = New Global.Infragistics.WebUI.Misc.WebPanel
    Line 3385:             
    Line 3386:             #End ExternalSource
    Line 3387:             Me.wpResult = __ctrl
    Line 3388:             __ctrl.ApplyStyleSheetSkin(Me)
    Line 3389:             
    Line 3390:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3391:             __ctrl.Template = New System.Web.UI.CompiledTemplateBuilder(AddressOf Me.__BuildControl__control17)
    Line 3392:             
    Line 3393:             #End ExternalSource
    Line 3394:             
    Line 3395:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3396:             __ctrl.ID = "wpResult"
    Line 3397:             
    Line 3398:             #End ExternalSource
    Line 3399:             
    Line 3400:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3401:             __ctrl.CssClass = "descriptionPanel"
    Line 3402:             
    Line 3403:             #End ExternalSource
    Line 3404:             
    Line 3405:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3406:             __ctrl.ToolTip = ""
    Line 3407:             
    Line 3408:             #End ExternalSource
    Line 3409:             
    Line 3410:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3411:             Me.__BuildControl__control56(__ctrl.PanelStyle)
    Line 3412:             
    Line 3413:             #End ExternalSource
    Line 3414:             
    Line 3415:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",133)
    Line 3416:             Me.__BuildControl__control57(__ctrl.Header)
    Line 3417:             
    Line 3418:             #End ExternalSource
    Line 3419:             Return __ctrl
    Line 3420:         End Function
    Line 3421:         
    Line 3422:         Private Function __BuildControlfrmOperYieldHour() As Global.System.Web.UI.HtmlControls.HtmlForm
    Line 3423:             Dim __ctrl As Global.System.Web.UI.HtmlControls.HtmlForm
    Line 3424:             
    Line 3425:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",15)
    Line 3426:             __ctrl = New Global.System.Web.UI.HtmlControls.HtmlForm
    Line 3427:             
    Line 3428:             #End ExternalSource
    Line 3429:             Me.frmOperYieldHour = __ctrl
    Line 3430:             
    Line 3431:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",15)
    Line 3432:             __ctrl.ID = "frmOperYieldHour"
    Line 3433:             
    Line 3434:             #End ExternalSource
    Line 3435:             Dim __ctrl1 As Global.Infragistics.WebUI.Misc.WebPanel
    Line 3436:             
    Line 3437:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",15)
    Line 3438:             __ctrl1 = Me.__BuildControlwpCriteria
    Line 3439:             
    Line 3440:             #End ExternalSource
    Line 3441:             Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 3442:             
    Line 3443:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",15)
    Line 3444:             __parser.AddParsedSubObject(__ctrl1)
    Line 3445:             
    Line 3446:             #End ExternalSource
    Line 3447:             Dim __ctrl2 As Global.Infragistics.WebUI.Misc.WebPanel
    Line 3448:             
    Line 3449:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",15)
    Line 3450:             __ctrl2 = Me.__BuildControlwpResult
    Line 3451:             
    Line 3452:             #End ExternalSource
    Line 3453:             
    Line 3454:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",15)
    Line 3455:             __parser.AddParsedSubObject(__ctrl2)
    Line 3456:             
    Line 3457:             #End ExternalSource
    Line 3458:             __ctrl.SetRenderMethodDelegate(AddressOf Me.__RenderfrmOperYieldHour)
    Line 3459:             Return __ctrl
    Line 3460:         End Function
    Line 3461:         
    Line 3462:         Private Sub __RenderfrmOperYieldHour(ByVal __w As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control)
    Line 3463:             __w.Write("        "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"            ")
    Line 3464:             
    Line 3465:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",16)
    Line 3466:                '-------------------- Filtering criteria ---------------------- 
    Line 3467:             
    Line 3468:             #End ExternalSource
    Line 3469:             parameterContainer.Controls(0).RenderControl(__w)
    Line 3470:             __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    <table><tr height=""10""><td></td></tr></table>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9)&Global.Microsoft.VisualBasic.ChrW(9)&"    ")
    Line 3471:             
    Line 3472:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",132)
    Line 3473:         '-------------------- Search Result ---------------------- 
    Line 3474:             
    Line 3475:             #End ExternalSource
    Line 3476:             parameterContainer.Controls(1).RenderControl(__w)
    Line 3477:             __w.Write("         "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"        ")
    Line 3478:         End Sub
    Line 3479:         
    Line 3480:         Private Sub __BuildControlTree(ByVal __ctrl As yield_smsrpt_oper_yield_hour_aspx)
    Line 3481:             
    Line 3482:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 3483:             Me.InitializeCulture
    Line 3484:             
    Line 3485:             #End ExternalSource
    Line 3486:             Dim __ctrl1 As Global.System.Web.UI.HtmlControls.HtmlHead
    Line 3487:             
    Line 3488:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 3489:             __ctrl1 = Me.__BuildControl__control2
    Line 3490:             
    Line 3491:             #End ExternalSource
    Line 3492:             Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
    Line 3493:             
    Line 3494:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 3495:             __parser.AddParsedSubObject(__ctrl1)
    Line 3496:             
    Line 3497:             #End ExternalSource
    Line 3498:             Dim __ctrl2 As Global.System.Web.UI.HtmlControls.HtmlForm
    Line 3499:             
    Line 3500:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 3501:             __ctrl2 = Me.__BuildControlfrmOperYieldHour
    Line 3502:             
    Line 3503:             #End ExternalSource
    Line 3504:             
    Line 3505:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",1)
    Line 3506:             __parser.AddParsedSubObject(__ctrl2)
    Line 3507:             
    Line 3508:             #End ExternalSource
    Line 3509:             __ctrl.SetRenderMethodDelegate(AddressOf Me.__Render__control1)
    Line 3510:         End Sub
    Line 3511:         
    Line 3512:         Private Sub __Render__control1(ByVal __w As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control)
    Line 3513:             __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.0 Transitional//EN"" >"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<html xmln"& _ 
    Line 3514:                     "s=""http://www.w3.org/1999/xhtml"" >"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10))
    Line 3515:             parameterContainer.Controls(0).RenderControl(__w)
    Line 3516:             __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"<body>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    <script language=""JavaScript"" src=""../Js/pop_events.js"" type=""text/"& _ 
    Line 3517:                     "javascript""></script>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&Global.Microsoft.VisualBasic.ChrW(9))
    Line 3518:             
    Line 3519:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",13)
    Line 3520:     Header_Title("Operational Yield (Hour)")
    Line 3521:             
    Line 3522:             #End ExternalSource
    Line 3523:             __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    <div align=""center"">"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"        ")
    Line 3524:             parameterContainer.Controls(1).RenderControl(__w)
    Line 3525:             __w.Write(""&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    </div> "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"    ")
    Line 3526:             
    Line 3527:             #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx",220)
    Line 3528:        GetFooter() 
    Line 3529:             
    Line 3530:             #End ExternalSource
    Line 3531:             __w.Write("        "&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"</body>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10)&"</html>"&Global.Microsoft.VisualBasic.ChrW(13)&Global.Microsoft.VisualBasic.ChrW(10))
    Line 3532:         End Sub
    Line 3533:         
    Line 3534:         
    Line 3535:         #ExternalSource("D:SMSSourceYieldsmsRpt_Oper_Yield_Hour.aspx.vb",912304)
    Line 3536:         Protected Overrides Sub FrameworkInitialize()
    Line 3537:             MyBase.FrameworkInitialize
    Line 3538:             SetStringResourcePointer(Global.ASP.yield_smsrpt_oper_yield_hour_aspx.__stringResource, 0)
    Line 3539:             Me.__BuildControlTree(Me)
    Line 3540:             Me.AddWrappedFileDependencies(Global.ASP.yield_smsrpt_oper_yield_hour_aspx.__fileDependencies)
    Line 3541:             Me.Request.ValidateInput
    Line 3542:         End Sub
    Line 3543:         
    Line 3544:         #End ExternalSource
    Line 3545:         
    Line 3546:         Public Overrides Function GetTypeHashCode() As Integer
    Line 3547:             Return -1004140733
    Line 3548:         End Function
    Line 3549:         
    Line 3550:         Public Overrides Sub ProcessRequest(ByVal context As System.Web.HttpContext)
    Line 3551:             MyBase.ProcessRequest(context)
    Line 3552:         End Sub
    Line 3553:     End Class
    Line 3554: End Namespace
    Line 3555: 

    so thanks for your help…..but the problem i stil need to face it….

    What is the data type of strFiscal variable ?

    Try this:

    strFiscal = GetFiscalInfo(«DATE»)
    IF strFiscal.ToString().Trim().Length != 0 THEN
        dtFromDate.Value = Format$(CDate(strFiscal), «dd-MMM-yyyy»)

    ENDIF

    OR

    strFiscal = GetFiscalInfo(«DATE»)
    IF Convert.ToString(strFiscal).Trim().Length
    != 0 THEN
        dtFromDate.Value = Format$(CDate(strFiscal), «dd-MMM-yyyy»)

    ENDIF

    • Marked as answer by
      Anonymous
      Thursday, October 7, 2021 12:00 AM

  • User-492864418 posted

     Hi,

    You can not use an empty string in any how. Please try this.

    strFiscal = GetFiscalInfo(«DATE»)
    If !String.IsNullOrEmpty(strFiscal) Then
        dtFromDate.Value = Format$(CDate(strFiscal), «dd-MMM-yyyy»)
        cboShift.SelectedValue = «»
    End If

    And put your else close if you wanna set any default value if you get null in strFiscal.

    Hope this will help you. Thanks.

    • Marked as answer by
      Anonymous
      Thursday, October 7, 2021 12:00 AM

There are many instances when dates and times do not appear in the format you want it to be, nor does a query output fit the needs of the viewers. There are several SQL Server’s built-in features to format the date string according to your need but for the string to be interpreted by SQL Server and to avoid conversion errors it should be in a proper format. When we try to convert date or time from character string following error arises sometimes. “Conversion failed when converting date and/or time from character string.”

date time conversion error

Figure 1: Date and/or time conversion error from the character string

The error mentioned above normally arises when the date literal is not proper and cannot be converted from the string into DateTime or date. This error results due to a number of reasons, which we will discuss in detail along with the solution set.

Example 1:

United Kingdom Date and time notation display the date using the day-month-year format (January 10, 2015 or 10/1/2015) which we can achieve using SQL Server built_in feature “convert” function with formatting style 103.

Here in the example below we can see that the provided date string is in the wrong format. First, it is providing the month, then days and at last year which is wrong and cannot be interpreted by SQL Server which results in an error. The correct format for UK style date conversion using “103” date style is “dd/mm/yyyy”.

Wrong Format:

Declare @date_time_value varchar(100)= '10/16/2015 21:02:04'
select CONVERT(datetime2, @date_time_value, 103) as UK_Date_Time_Style

Figure 2: Wrong Date Format resulting in an error

Correct Format:

The British and French date format is 103 = “dd/mm/yyyy” or 3=” dd/mm/yy”. Here 103 and 3 are date styles.

Declare @date_time_value varchar(100)= '10/1/15 21:02:04'
select CONVERT(datetime2, @date_time_value, 103) as Date_Time_Style

Figure 3: Correct Date Format with “dd/mm/yyyy” British/ French date style
Declare @date_time_value varchar(100)= '10/1/15 21:02:04'
select CONVERT(datetime2, @date_time_value, 3) as UK_Date_Time_Style

Figure 4: Correct Date Format with “dd/mm/yy” British/ French date style

Example 2:

Sometimes string to date conversion in SQL server results in error, not because of the date or time formats used, rather it’s because you’re attempting to store incorrect information that’s not acceptable to the scheme.

Wrong Date:

The reason for the following error is mere that in the year 2019 there is no such date as “29 February” because it is not a leap year.

Declare @date_time_value varchar(100)= '2019-02-29 21:02:04'
select cast(@date_time_value as datetime2) as date_time_value

Figure 5: Error raised as 2019 is not a leap year, so it does not have 29 Feb as date

Correct One:

Declare @date_time_value varchar(100)= '2019-02-28 21:02:04'
select cast(@date_time_value as datetime2) as date_time_value

Figure 6: Correct date

ISO 8601 Date Format:

Although numerous formats are available for manipulating date values, when working for a global/ international mass, it can be a usability issue to choose a datetime representation. So culture-specific date/time literals should be avoided. If we consider this date “03/08/2018”, it will be interpreted in following different ways in different regions of the world.

  • In UK style it is interpreted as “8th of March 2018”
  • In European style it is interpreted as “3rd of August 2018”

Luckily, there is one alternative in the international date format developed by ISO. The global standard ISO 8601 format “YYYY-MM-DDThh: mm: ss” is a more language-independent option for string literals and it addresses all these issues. Whereas, “yyyy” is the year, “mm” is month and “dd” is day. So the date “8th of March 2018”in international ISO format is written as “2018-03-08”. Thus ISO format is the best choice for date representation.

Declare @date_time_value varchar(100)= '2019-03-28 21:02:04'
select convert(datetime2,@date_time_value,126) as [yyyy-mm-ddThh:mi:ss.mmm]

Figure 7: International Standard ISO 8601 date format

Recommendations:

Hopefully, this article will assist to relieve the confusion I have frequently seen in the community about date/time values. However, it is recommended that never store dates in text-type (varchar, char, nvarchar, nchar,or text) Always store date value in DATE, DATETIME and preferably DATETIME2 (provides more precision) type columns and, leave the date information formatting to the user interface layer instead of being retrieved from the database.

Photo of Sadia Majeed

Sadia Majeed

Sadia is an Enthusiastic and experienced professional with technical expertise in multiple tools and technologies including database, data ware housing, business intelligence and data science.

Troubleshooting

Problem

This article describes a known problem which causes an error -1218 when casting a string containing a datetime value to date.

Resolving The Problem

PROBLEM

When you try to cast a string which has a datetime value to date, you receive the following error:

    1218:String to date conversion error

SCOPE

The following products and platforms are affected:

Product Name

Product Version(s)

Hardware Vendor

Operating System

IBM® Informix® Dynamic Server™

  • 7.31.UD7 and higher
  • 9.30.UC7
  • 9.40.UC3 and higher
  • 10.00.UCx
  • ALL

    ALL

    CAUSE

    This is the current expected behavior of the product. If the string does not contain a valid date value, you get error -1218.

    SOLUTION

    To cast a string which contains a datetime value to date, you should cast it to datetime, or cast it to datetime first, and then to date.

    Example:

      You want to update a column c1 of type date in a table t1.

      The following syntax will return error — 1218:

        $update t1 set c1 = (‘2003-02-22 05:58:44.000’)::DATE

      The following syntax is correct and will not return any errors:

        $update t1 set c1 = (‘2003-02-22 05:58:44.000’)::DATETIME YEAR TO FRACTION$update t1 set c1 = (‘2003-02-22 05:58:44.000’)::DATETIME YEAR TO FRACTION::DATE

    [{«Product»:{«code»:»SSGU8G»,»label»:»Informix Servers»},»Business Unit»:{«code»:»BU053″,»label»:»Cloud & Data Platform»},»Component»:»—«,»Platform»:[{«code»:»PF002″,»label»:»AIX»},{«code»:»PF025″,»label»:»Platform Independent»},{«code»:»PF008″,»label»:»DYNIX/ptx»},{«code»:»PF010″,»label»:»HP-UX»},{«code»:»PF015″,»label»:»IRIX»},{«code»:»PF016″,»label»:»Linux»},{«code»:»PF026″,»label»:»Reliant UNIX»},{«code»:»PF027″,»label»:»Solaris»},{«code»:»PF033″,»label»:»Windows»}],»Version»:»7.3;9.2;9.3;9.4;10.0″,»Edition»:»»,»Line of Business»:{«code»:»»,»label»:»»}}]

    • Question

    • What Im clearly not understanding based on the forum threads Ive read on this issue is why the very component that is supposed to convert data types doesnt work. Most thread refer to using derived columns to convert string dates to DB dates. Is this really the case or am I misreading something here?

    All replies

    • The Data Conversion component will work fine — but it only works when the string data is formatted properly, which is almost never the case.  Therefore, the string has to be reformatted before conversion — and why use two steps to do that when one will suffice?


      Todd McDermid's Blog

      • Marked as answer by

        Monday, December 7, 2009 6:24 PM

      • Unmarked as answer by
        Geeee
        Monday, December 7, 2009 6:40 PM

    • OK — Ive now spent the best part of 2 days trying to convert a string date to a date datatype. Im finding the SSIS UI very confusing and the Help files even more so.

      As an example, I have a text flat file source with over 150 fields. The first field is called ImportDate and its format is yyyymmdd. Fair enough, for some bizarre reason SSIS cannot deduce a date from that format and we are forced to reformat the string to yyyy-mm-dd. One would be forgiven for thinking it would just be a matter of passing the string to a expression in the DerivedColumn component. This is where the real problem just start.

      Firstly, if you have a file the size of mine(150 fields), you would expect to be able to order your incoming columns. Not available in SSIS.
      Secondly, you would like to be to ACTUALLY convert the data, once again SSIS falls down.

      I entered (DT_DATE)(SUBSTRING(ImportDate,1,4) + «-» + SUBSTRING(ImportDate,5,2) + «-» + SUBSTRING(ImportDate,7,2)) to convert the string to date …. and what comes out the other end >>>  A STRING…..

      If you get this part to work(which I have not even after 2 days of trying), there are many more gotchas waiting for you. Try inserting data into a Parent Child table. After seeing how inadequate SSIS is in doing this, i had a brilliant idea,.. lets use LINQ… WRONG — SSIS doesnt support LINQ….!!! 

      Im a week into a big data convesion project and Im having very strong misgivings about SSIS… maybe this is only good for small apps and not enterprise type projects?

      • Edited by
        Geeee
        Sunday, May 17, 2009 4:37 PM

    • You should have asked for a little help earlier.

      First, how can you expect any tool to magically know that 19111111 is in YYYYMMDD format?

      Second, I assume you’re trying the above expression inside a Derived Column component, attempting to replace the current column’s value with the results from that expression?  If so — you can’t do that.  You can’t change the type of a column — you have to create a new column.  SSIS will automatically detect that your new column is a date type and type it accordingly — your dates should come out the other end as you expect.

      What’s the issue with inserting data into a Parent/Child set of tables?

      Why do you think SSIS can’t use LINQ?

      Have you looked at Project REAL?


      Todd McDermid's Blog

    • You are definately right — I should have asked for help earlier —

      As far as the date string , I would expect the string  20090501 to be able to be converted to a date type.

      I have tried using a ‘new column’ in the DerivedColumn component and sending that to the DB. It also fails with the same message >>>> cant convert DT_STR to DT_DBDATE…

      Extremely confusing since apparently the column data output  format from the DerivedColumn  is DT_DBDATE, so where is it getting a string from ???

      • Edited by
        Geeee
        Sunday, May 17, 2009 5:01 PM

    • Just to clarify so far

      text file date >> yyyymmdd
      that gets sent to a DerivedColumn component as a string and gets Formatted to (SUBSTRING(ImportDate,1,4) + «-» + SUBSTRING(ImportDate,5,2) + «-» + SUBSTRING(ImportDate,7,2))

      the result then goes as a string to a DATACONVERSION component as a string and gets converted to DT_DBDATE

      the result then tries to insert into a DB date field and fails

    • I have eventually managed to convert the string date. The process is illogical and extremely time consuming with large files.

      The issue with parent child tables is that when you insert a parent record that has a autoincrement PK — there doesnt seem to be a way to get that PK value to use in the child table. This is relatively easy in LINQ … I have tried adding the LINQ data namespace to a script component but the namespace is not available to be added.

    • I’d appreciate it if you could elaborate on your process to convert the string date to a date — in my experience, it’s quite logical and not difficult.  It’s quite similar and equally as «restrictive» or temperamental as T-SQL or .Net conversions.  The typical difficulties people encounter tend to be on the «reformatting the string» end of things, as they’re not used to using SUBSTRING and the other string manipulation functions.  The only thing I could expect to be time-consuming is if you have multiple fields to convert, you’d have to retype the syntax several times, once for each column.  It would be nice if the Data Conversion component would take a format argument as a parameter to make it a little more flexible.

      Inserting into Parent/Child tables with identity PK/FK links will be very problematic with any set-based language — SSIS or T-SQL.

      What version of SSIS (SQL) are you using?  2005, due to its obvious age and use of VBA may not be able to use LINQ.  However, 2008 with VSTA should be able to.  (I personally haven’t tried it, but every other namespace I’ve wanted has been «there».)


      Todd McDermid's Blog

    • Hi Todd

      I think my main stumbling block with the date conversion was the ‘replace column’ that was forcing the column back to its original datatype in spite of having a cast expression in place. In my opinion, an error should have been thrown at this point becuase I was trying to convert data to a type that wasnt allowed. The error only surfaced when trying to pass the output into a database table. 

      I am using SSIS 2008. As far as i can see, one cannot use LINQ even in this version. If one could use LINQ, the process of inserting PK/FK records would be grealty simplified. The name space that I would want to use would be  SYSTEM.LINQ.DATA

    • First, the component wouldn’t throw an error at that implicit cast — because it’s an implicit cast and it’s only doing what you asked.  I know that’s not a great answer — but it doesn’t have the intellisense blue squiggle like VStudio does to question your judgment…

      Second — that’s an easy fix.  By default, the scripts are configured to use the .Net Framework 2.0.  In order to change that (in SSIS 2008), do it the same way you would in a full fledged VStudio project — go to the project properties and change it.  For a script in SSIS, that means you have to edit the script to get the VSTA environment for that script, go to the project menu, pick the last entry in the menu which looks like a mess (because it’s the project name which is just a meaningless GUID), and change the «target framework» from 2.0 to 3.5.  Now you have access to the Linq namespace.


      Todd McDermid's Blog

    • Hi Tom —

      Trying to not abuse your help but its me and SSIS at logger heads again.

      Without going into the details of the mutitude of failed attempts to get a foreach loop working , I was hoping i could give you the high level steps to look over.
      I have dutifully read everything on BOL and tried examples which work — when i try and apply the knowledge , everything goes red. Im starting to feel like an imbecile… and yes, Ive wasted another 2 days at this.

      I need to feed the results of a query (3 fields)  — row by row — into a stored procedure as parameter values. This is what i have done:

      1. Add Execute SQL task. Add query (Direct Input), selecting 3 fields
      2. Create variable of type object to receive result set from above 
      3. Add Foreach Loop
      4. Create 3 variables to receive data from Foreach Loop ADO enumerator.
      5. Add Execute SQL task inside Foreach to execute stored proc.
      6. Pass 3 variables into Execute SQL task specified above.

      Judging by the errors I must be a million miles off the mark ….. Could you steer me in the right direction?

      Thanks

    • Geeee,

      What you are doing sounds right to me. Is there any error message you can share? Is the error in the inner execute sql task? is for, how are you mapping the parameters. Mapping The parameter in execute sql tasks is sometimes tricky. Here is a post you may find helpful (assuming that is your problem):

      http://rafael-salas.blogspot.com/2007/11/ssis-mapping-parameter-inside-of.html


      Rafael Salas | Don’t forget to mark the post(s) that answered your question
      http://rafael-salas.blogspot.com/

    • Hi Raphael

      I think the problem might lie in mapping of the data types.

      The data type for the first parameter is a «bigint». I have tried int32 and int64 datatypes for the variables and neither work.

    • This is the error:
      Error: ForEach Variable Mapping number 3 to variable «User::AcisOfferNumber» cannot be applied.

      As I said , the type in the database is bigint… I cant see any other suitable data type in the variable to map it to.

    • Hey Geeee,

      Which of these tasks are failing and what are the errors?  I know that the for each loop container can be a bit confusing, but it is still usually something that can be worked out in short order.


      Please mark answered posts. Thanks for your time.

    • The Foreach Loop container is failing — I have disabled the inner Execute SQL task.

    • What should the initial value of the Int64 variable be set to? I have set it as 0. Is this correct?

    • I have removed the int64 variable :  User::AcisOfferNumber and the Foreach loop shows a success…

      The question is what is the equivalent variable data type to the bigint  database type.

    • I was just reading that blog — i tried changing it to string but it still fails….

    • Changing it to a object works — i think????   Now the inner Execute SQL task is failing with this message

      [Execute SQL Task] Error: There is an invalid number of result bindings returned for the ResultSetType: «ResultSetType_Rowset».

    • OK — still failing — I have even added a WHERE clause to the query to make sure no nulls are coming in .

      SSIS is impossible to debug. The debug messages are meaningless. This is very frustrating… there seems to be holes all over the place in this product. 

    • At this point I have changed the bigint to a varchar (wait till the client hears this) …. and STILL ITS FAILING…. same old random error

      [Execute SQL Task] Error: There is an invalid number of result bindings returned for the ResultSetType: «ResultSetType_Rowset».

    • That error indicates to me that your SQL statement isn’t returning the same number of values in the rowset as you’ve mapped in the Mappings page.  Seeing as though I think this is your first Execute SQL statement, I don’t think you want to map variables to it — I thought you wanted to store it in an object variable.  If that’s the case, make sure you only have the one row on your Mappings page.


      Todd McDermid's Blog

    • The Select is returning  a result set of 3 fields. This is going green (does that mean success?? Maybe not — )

      That is being passed to the foreach loop as an object variable. Inside the Foreach loop there is another Execute SQL task …. this is what Im passing my 3 variables to which is suppose to pass them off to the stored proc…

      Im not sure I understand what you are saying ..

    • Which Execute SQL Task is failing with that error?  The one prior to the loop, or the one inside it? 

      From your description, it sounds like the one prior to the loop.  SSIS looks like it’s trying to tell you that you’ve mapped the wrong number of variables on the Mappings page.


      Todd McDermid's Blog

    • Geee,

      At this point it would be better if you post the query used in the outer execute sql task, its settings and the same things for the foreach loop.


      Rafael Salas | Don’t forget to mark the post(s) that answered your question http://rafael-salas.blogspot.com/

      • Edited by
        Rafael SalasMVP
        Tuesday, May 19, 2009 3:14 PM

    • The Outer SQL task is going green — does that mean a success?

      The Foreach loop is going red and the Inner SQL task is going red …

    • OK — here is the outer query :

      Full result set

      SELECT AcisOfferNumber,FrontEndAppNumber,ContractNumber FROM F80DataImport

      Result Set
      **********
      Result Name: 0
      Variable Name: User::F80Records

      nothing else

    • Hi Raphael — can you please explain what is wrong with the query or the task ???

    • Ok — thats more than enough time wasted on this ridiculous error.

      Im going back to SQL cursors … yes, they may be slow but at least they are reliable. SSIS is clearly still in a very early development stage. Some information in BOL is wrong according to experienced SSIS developers and the MS documentation simply does not address the type of errors that I am experiencing. not to mention the bugs such as the inability to handle bigints. 

      There are only so many days  that can be wasted trawling user groups and forums trying to find answers to problems. In a production scenario where  the client is paying for time, this method just doesnt cut the mustard. As i see it, SSIS is only good for getting raw data out of text files and csv’s … from there on my opinion is to use the old tried and tested TSQL to manage distribution of imported data into the database.

      If I had stuck with SQL , I would have had the job done days ago.

      Hopefully MS will launch a more reliable product soon or at least put out documentation to fend off the illogical errors SSIS is so prone to throw. 

      Thanks again to those of you who tried to help — but as the saying goes, its no use flogging a dead horse.

    • I’m disappointed that you haven’t been able to accomplish what thousands of others have been able to — but by all means, use the tool(s) that you’re familiar with and most comfortable with.  I think, in time, you’ll have the opportunity to work with SSIS again — hopefully in a less stressful situation for you.  At that time, it may be easier for you — and will likely result in you thinking that the tool had been changed for the better since you last used it.

      I’d encourage you to review some of the material in the FAQ regarding training resources — all completely free.  However, a course may do you some benefit as well.

      Please do keep in mind that it appears as though you’re trying to compare ease of use and capability between two tools — where you’ve been trained and working with one for years (possibly decades), and have no training or experience with the other.  I think that anyone in that situation would naturally find the comparison lopsided.


      Todd McDermid's Blog

    • You raised some good points, but after putting out my extremely basic problem to this forum, no one was able to come forward with even the slightest notion of what the cause might be.

      I have tried 40 or more permuations of getting 3 fields into 3 variables and passing it to a stored procedure. It doesnt get more basic than that. All failed , but the most frustraing part is that it is impossible to debug. The error messages are misleading.  

       As for the thousands that are using it, all I came across was thousand of questions in various forums…. many of which have still not been resolved.

      For a product to succeed, it has to add values — either quicker, or easier or more powerful… none of these apply to SSIS in my opinion.

      Thanks anyway

    • I’m sure you’ll agree it’s a little difficult to remotely debug someone else’s issues — I’m sure you’ve had to do that before.  And from what I could see, everyone who tried to help you in this thread pointed to the same «cause» — incorrect configuration of the tasks and components you were using.  But it’s (again) extremely difficult to debug that configuration from afar.

      I’m also sure you’d agree that to a newbie, SQL Server error messages are «impossible to debug» and «misleading» — it’s all about training and familiarity.

      And being a little tongue-in-cheek, T-SQL must be just as bad as SSIS, seeing as though it’s forum has an almost identical count of unresolved to resolved threads.

      Perspective is everything.


      Todd McDermid's Blog

    • .. fair point .. and tongue in cheek , T-SQL has a PRINT statement — SSIS does not

      You see the difference is this :

      If i asked you whats wrong with this > SELECT field1, field2, field3  FROM

      .. you immediately would be able to tell me my table name was missing —

      The  exact same simplistic example has taken 4 days to try and solve and is extremely difficult to debug (your own words) remotely… In spite of supplying the error no one was able to figure it out, not because they are inept , its because SSIS error are misleading and generic….

      My favourites was the error that either the connection is wrong or the query is wrong or the variable is wrong — then under closer inspection you realise that they are ALL RIGHT…..

      Imagine if i had to try and really make it dance….(which i do on this project)

      Its a black box technology

      You are so right… Perspective is everything

    • btw … Im 20 min into writing a cursor that distributes 115 fields into 27 tables …. and Im about 50 % done.

      Thats the difference 

    • BTW — SSIS does have a PRINT equivalent, it’s a Data Viewer.

      And yes, I’d be able to tell you the table name was missing — because I happen to know T-SQL, AND it’s a completely text-based tool.  But how’s this for an unhelpful message: «Incorrect Syntax near ‘FROM'» — yes, that’s the informative, leading you to a solution message you get from that incorrect T-SQL statement. :)

      You give up some of that debuggability (for REALLY SIMPLE things) when you go graphical.  But both you and I know that attempting to debug a thousand line set of T-SQL sprocs for unexpected behaviour can be an exercise in frustration.  SSIS happens to make that actually easy… (you’ll have to trust me on that one, although I have a feeling you won’t)

      We can’t help you figure out your error because we can’t get our hands on your environment — not because the errors are generic and/or misleading.  It’s the difficulty of converting pictures to words.  Neither you nor we have been able to do so effectively.

      SSIS is as black box as T-SQL.  You can only say that once you know a little of both.  If you only know one, then of course the other is an impenetrable black box of magic.

      Hey — I’m glad you got your cursors working that fast.  Now go document it. :)


      Todd McDermid's Blog

      • Edited by
        Todd McDermid
        Tuesday, May 19, 2009 5:32 PM

    • — for the entertainment.. its not becuase i want the last word:

      I gave the query
      I gave the names of the variables and the type
      I gave the error message

      Its not the environment

      I was using a Control Flow — the DataReader component doesnt even show on that tab … its on the Data Flow tab … and when you drop a data reader on the data flow tabe, theres nothing to connect it to (in my example) — everything else is on the other tab  — now, you cant tell me there is ANYONE out there that wouldnt find that sort of GUI a frustration.

    • I find it hard that you can’t accept that it is the graphical environment.  Yes, you provided those three things, but you did not provide:

      The properties you set on each page of each component involved.  (There were sprinklings of those settings in the back-and-forth, but as you said, you tried «40 different ways» — and we have no complete details on any one of those ways.)

      And, as proof to my assertion that the devil’s in the interpretation and understanding of the environment, I specifically said «Data Viewer», not «DataReader».  And yes, I am referring to the Data Flow, not the Control Flow — because for typically designed packages, that’s where you manipulate data.  And yes, I know that’s not how you designed your package.  And yes, you may consider that we «led you on» to do it a «non-standard» way, which we did.  But it is possible to do what you want either way, and I for one didn’t want to inject any more confusion into your use of the tool.  Again, a short stint on learnintegrationservices.com or jumpstarttv.com will take you miles.

      I know you’re passionate about the work you do — that’s obvious (and respectable).  You are correct that there are some shortcomings to SSIS — of that there is no doubt.  What you need to understand, however, is that SSIS is a completely different mindset than T-SQL and cursors.  Trying to shoehorn SSIS to behave like T-SQL will only result in frustration and the inevitable conclusion that it’s not fit for any use.  Exactly like using T-SQL to manage complex XML — and I’m sure you’d agree that deciding T-SQL was complete horse**** for everything based on being inadequate for XML would be a very bad conclusion.

      Complete your project with T-SQL, it’s the best tool for you at this time.


      Todd McDermid's Blog

    • OK — In finality of this thread I am going to give you EVERYTHING you asked for in clear and concise and sequential terms. If at the end of reading this posting you are able to solve the issue, I will try SSIS again. After all , isnt that what the forums are for. To find solutions. And I do appreciate your persistence with trying to help me. Forgive the frustrations but my patience has run out after 3 days.

      I have watched ALL the videos on JumpstartTV.

      F80Task
      ********
      1. I added an Execute SQL task to the control flow tab. I named it F80Task
      2. I added a SQL connection manager.
      3. I selected the connection manager in F80Task
      4. Set ByPass Prepare to false.
      5. I added a SQL query to the F80Task : SELECT AcisOfferNumber,FrontEndAppNumber,ContractNumber FROM F80DataImport
      6. Parsed Query OK
      7. Set the Result Set to : Full Result Set
      8. Added a new result set : Name F80Records : type: Object >>> User::F80Records

      F80Loop
      ********

      1. Add a Foreach Loop Container: Name F80Loop
      2. Connect F80Task to F80Loop … yes , the green line.
      3. Change the enumerator type to ADO Enumerator
      4. Change the object source variable to : User::F80Records
      5. Rows in table in selected (first option)
      6. Go to Variable Mapping in F80Loop
      7. Add 3 new string variables : AcisOfferNumber,FrontEndAppNumber,ContractNumber … indexes 0,1,2   (Had to change the first variable to a string becuase of the bigint BUG)

      TEST: run the test : all green

      F80SendToProc
      *************

      1. I added an Execute SQL task to the  F80Loop Container. I named it F80SendToProc
      2. I selected the connection manager in F80Task
      4. Set ByPass Prepare to false.
      5. I added a SQL query to the F80SendToProc: EXEC USP_GetNewF80Records ? , ? , ?
      6. Parsed Query failed : permission violation!!! (another bullshit error)
      7. Set the Result Set to : none  ( the proc is running inserts)
      8. Added 3 varchar input parameters : User::AcisOfferNumber, User::FrontEndAppNumber, User::ContractNumber… named them : @AcisOfferNumber,@FrontEndAppNumber,@ContractNumber

      TEST: Failed : Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.

      I love that one : its the result set , the parameters or the connection — no ____ sherlock!!!! — maybe its the moon????

      OK — there you have everything you could possibly need to solve this —   my bet is I will be finishing off my horrible nasty cursor tomorrow

      :-)

    • Thanks for the information — I think I can help you, because I’ve made this work.  Here are a few questions and observations:

      What’s a «SQL Connection Manager»? 
      I assume you’re connecting to a SQL Database, but did you use an OLE DB Connection Manager, an ADO.Net Connection Manager, or something else?  (I ask this because it has to be something other than an OLE DB Connection Manager, because that connection manager doesn’t allow named result sets — on F80Task.8, you’d have to name the result set «0»… which I did.)

      The way to handle a BIGINT in OLE DB Connections is to use a string — see here for why: Why can’t I store my BIGINT result in an Int64 variable?  Alternatively, you could use the ADO.Net Connection Manager.

      The same constraint for result set mapping is in effect for parameter mapping for OLE DB Connections, so the parameter names for your three parameters have to be 0, 1, and 2 (not the T-SQL variable names).

      I ran that and it worked — of course, I didn’t actually have a table full of records to run through the loop, and didn’t have a «real» stored procedure to hit…

      Here’s the package I made: http://cid-0c76c3cbdb305921.skydrive.live.com/self.aspx/Public/Geeee.zip (It’s SSIS 2008 — hope you have that, can’t recall)


      Todd McDermid's Blog

    • Hi Todd

      I am using a OLE DB connection manager.

      I was aware that result sets have to be named : 0 , mine is named thus.

      I wasnt aware that the parameter names were under the same contraint. I have renamed the variables to the index positions (bizarre). The Package now shows a success but its misleading. Here is why.

      I have recreated a very simple  stored proc that just accepts the parameter values and inserts those values into a table. I have tested the proc. It works.

      The original source has 11 records in it. The package is now pumping 11 empty values into the stored proc. Its a step forward but not quite there yet.

      • Edited by
        Geeee
        Wednesday, May 20, 2009 8:54 AM

    • Once again I have tried rebuilding everything from scratch only to hit the same brick wall im so used to.

      Question, why is the package showing success when it is clearly failing?

      Ive tried changing the connection manager type to an ADO connection type and i get a nice new set of meaningless errors —
      this is definately my favourite one — its either the query or the parameters or the connection — no sh1t sherlock

      [Execute SQL Task] Error: Executing the query «EXEC USP_GetNewLoansFromF80Test ?,?,?» failed with the following error: «No mapping exists from DbType 129 to a known SqlDbType.». Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.

      So to sum up:
      Tried naming the parameters properly (the way they should be) with the ADO connection — FAILURE
      Name them back to indexes(with OLE DB connection) — Package incorrectly shows a success and send the 11 source records as blanks to the stored proc — FAILURE

      What you are experiencing with your package in a misleading success error — this will only become clear if you run the same package on SSIS2005 with a real table and a real stored proc. I have established that the exact same package works on VS2008 = the client wont change so dont even go there.

      Thanks

      • Edited by
        Geeee
        Wednesday, May 20, 2009 1:42 PM

    • By making the database fields NOT ACCEPT NULL, I have now established that the parameter values are being passed as empty strings and not nulls…

      Any idea why?

    • I have seeded the values of the parameters with hard coded strings — these are passed through to the proc — so the previous bug found ( BIGINT) with data conversion from SQL DB types to parameter types is obviously far more widespread than first appeared. It now seems that even VARCHAR db data types cannot be passed to STRING parameter types.

      I have also tried changing the paramater types to OBJECT — this type also (predictably) fails

      I also tried changing the resultset type to a string — yes, you guessed : that failed too.

      In case ive missed any wierd permutation out, here is what Ive tried changing:

      >> Connection Managers : tried OLEDB and ADO.net
      >> Resultset types : tried em all
      >> Parameter Types : tried em all
      >> Parameter Names : tried index number as well as parameter names for BOTH types of connection managers … havent tried Russian or Mandarin chars
      >> Resultset Index 0-2 : yawn
      >> Parameter Indexs : All combinations between 0-2 (9 permutations for the three parameters)
      >> Retested the Stored Proc 3x : no problem there
      >> Changed the connection manager to ADO.NET — then changed IsQueryStoredProcedure to true — you can guess: failure.

      …. and if the moon was out — i would get down on my haunches and howl at it : it might have more effect.

      ps: The project manager has just been around to ask how things are going.

      All I could do was smile at him like an idiot…. didnt have much to say…..

    • Did you download the package I created?

      I’d already deleted the sproc and tables I used that it worked with but… let’s see if I can recreate them…

      Here you go:

      CREATE TABLE [dbo].[GeeeeSource](
       [AcisOfferNumber] [bigint] NOT NULL,
       [FrontEndAppNumber] [int] NOT NULL,
       [ContractNumber] [varchar](50) NOT NULL
      ) ON [PRIMARY]

      CREATE TABLE [dbo].[GeeeeDest](
       [AcisOfferNumber] [bigint] NOT NULL,
       [FrontEndAppNumber] [int] NOT NULL,
       [ContractNumber] [varchar](50) NOT NULL
      ) ON [PRIMARY]

      CREATE PROCEDURE USP_GetNewF80Records
       @AON AS BIGINT,
       @FEAN AS INT,
       @CN AS VARCHAR(50)
      AS
      BEGIN
       SET NOCOUNT ON;

       INSERT INTO GeeeeDest
         (AcisOfferNumber, FrontEndAppNumber, ContractNumber)
         VALUES (@AON, @FEAN, @CN)
      END

      And when I recreated them, I took the liberty of changing some data types for some more variety, so it doesn’t match the package on my SkyDrive — but since you’ve got 2005, here’s a step by step of how to make your own:

      Variables (all scoped maximally)
      AcisOfferNumber, String, no value set
      ContractNumber, String, no value set
      F80Records, Object, no value set (although it’ll say «System.Object»)
      FrontEndAppNumber, Int32, zero

      Execute SQL Task «F80Task»
        General Page
          ResultSet: Full Result Set
          ConnectionType: OLE DB
          Connection: your connection goes here
          SQLSourceType: Direct input
          SQLStatement: SELECT CAST(AcisOfferNumber AS CHAR(10)) , FrontEndAppNumber, ContractNumber FROM GeeeeSource
          BypassPrepare: False
        Parameter Mapping Page — empty
        Result Set Page
          Row one:
            Result Name: 0
            Variable Name: User::F80Records
        Expressions Page — empty

      Foreach Loop Container «F80Loop»
        General Page
          Name: F80Loop
        Collection Page
          Enumerator: Foreach ADO Enumerator
          ADO object source variable: User::F80Records
          Enumeration mode: Rows in the first table
        Variable Mappings Page
          Row one:
            Variable: User::AcisOfferNumber
            Index: 0
          Row two:
            Variable: User:FrontEndAppNumber
            Index: 1
          Row three:
            Variable: User::ContractNumber
            Index: 2
        Expressions Page — empty

      Execute SQL Task «F80SendToProc»
        General Page
          ResultSet: None
          ConnectionType: OLE DB
          Connection: your connection here
          SQLSourceType: Direct input
          SQLStatement: EXEC USP_GetNewF80Records ?,?,?
          BypassPrepare: False
        Parameter Mapping Page
          Row one:
            Variable Name: User::AcisOfferNumber
            Direction: Input
            Data Type: VARCHAR
            Parameter Name: 0
            Parameter Size: 10
          Row two:
            Variable Name: User::FrontEndAppNumber
            Direction: Input
            Data Type: LONG
            Parameter Name: 1
            Parameter Size: -1
          Row one:
            Variable Name: User::ContractNumber
            Direction: Input
            Data Type: VARCHAR
            Parameter Name: 2
            Parameter Size: 50
        Result Set Page — empty
        Expressions Page — empty

      And if that doesn’t work for you… then I don’t quite know what to say.  It took me as long to write this up as it did to set up that package, tables, and sproc, test it and get it to work.

      Good luck.


      Todd McDermid's Blog

    • Todd —

      I appreciate your time.

      My version is exacty the same as yours…… It works in SSIS2008 but not in SSIS2005 becuase the package is passing BLANK STRINGS to the stored proc.

      How can I find out where or why blank strings are getting passed to the stored proc ???

      ie. How can I VIEW the values of the variables that are being passed from the Foreach Loop to the inner task ???

    • What do you mean scoped maximally — mine are all scoped at the package level right?

    • Time to apply service pack 3 for 2005

    • SP3 — That would be a great idea, although I don’t think it will affect your package.

      Yes, maximally = package level.

      In order to see variable values at runtime:
      Place a breakpoint on your inner Execute SQL Task.
      Run the package.
      When it breaks, open the «Locals» window (Debug -> Windows -> Locals), and expand the «Variables» node.

      The «results» from that should tell you which «half» of your package isn’t working, the assignment to the variables (Foreach) or using them (Exec SQL).


      Todd McDermid's Blog

    • Hi Todd

      I have installed SP3 — its hasnt fixed the problem.

      When debugging the inner task , I can see the AcisOfferNumber being displayed in the User::F80Records variable…. but the string value for User::AcisOfferNumber and the other 2 variables remain blank as you step through the records. So, the Foreach Loop is receiving the recordset but the enumerator is not working.

      Also the VariableChanged Event never fires

      My guess is that this is a undocumented bug in SSIS2005.

      • Edited by
        Geeee
        Wednesday, May 20, 2009 6:41 PM

    • It’s probably still some incorrect configuration — but I don’t have my 2005 environment set up, so I can’t really try it out.  You can submit a bug at the SQL Connect site — provide your package and some sample data (if possible) and they can check it out.


      Todd McDermid's Blog

    • Hi Todd

      I have finshed and tested my systems. Its all working by avoiding using SSIS — but now that i have some time to play with it, Im compelled to go back and see if SSIS could have been used.

      Ive started by setting up some basic tables in SQL sending data to a forloop. Once again the frustration begins.

      For instance , my very first field in my table is a Decimal(12,6) which might or might not be NULL. So, the next logical step when passing this data type to a variable would be to map it through to a data type that SSIS understands.

      Error: ForEach Variable Mapping number 14 to variable «User::LoanInterestRate» cannot be applied. ?????????  (Im guessing this is another one of the illogical errors and after google for a few hours, it seems the general consensus is that this MIGHT mean the value is NULL)… my value is definately NOT NULL 

      None of the datatypes match — so, I tried casting it in the datatype expression .. which obviously failed. (DT_DECIMAL,6)@LoanInterestRate should work. The expression editor does not display a error , but also refuses to accept this expression — another unhandled error or just poor interface design ???

      As an example , try copying these values from a MS document and testing them in a expression editor — most of them fail:
      http://msdn.microsoft.com/en-us/library/ms141704.aspx

      Here is a question: Why didnt the SSIS designers just use the SSIS datatypes (DT_DECIMAL,6) in the Datatype drop box instead of string, boolean, DateTime etc…. So now one has to convert from SQL dataypes to SSIS variable datatypes and from Variable types to SSIS datatypes.

       Once again, any guidance would be much appreciated

      • Edited by
        Geeee
        Tuesday, June 2, 2009 5:34 PM

    • About your Decimal type assignment in the Foreach Loop…

      I would diagnose that issue by first examining the data set I got back that I’m using in the Foreach Loop.  I’d do that either by running the statement that generated it in SSMS — and if that statement is dynamically generated, for safety, run the package with a breakpoint on the Foreach in order to get the runtime version of the statement.  (Using the watch window.)
      My thoughts on the underlying possible causes (forgive me if I don’t recall everything from this thread):
      1. There is a NULL — that’s why I’d check the result set
      2. The returned type is not a DECIMAL(12,6) SQL type, it’s larger — again, checking the result set would confirm or refute
      3. It has something to do with what I think we had briefly touched on about using string types for decimals
      Fixing 1&2 likely involve fixing the query.  Fixing 3 — shouldn’t «need» to be fixed — but trying a CAST in the SQL might help.  As a last resort, CAST to a string, then convert to a numeric with another variable as an expression.  Dirty hack, but that will work.

      I don’t understand your statement about the «none of the datatypes match».  What data types?  What should match to what?

      The expression editor is not adequate, but it has a nice little «test» button on it that will report a verbose error.  And I’d like to know how you get those expressions in the BoL to fail — they all work for me — if I’m assigning them to the correctly typed variable/column.

      Your last question is a VERY good one.  I do know why SSIS has it’s «own» typed set of «data» types, and I know why it’s variable types are the way they are.  I just don’t know why they couldn’t think harder to bridge that gap.

      First, SSIS has it’s «own» typed set of «data» types to make SSIS «back end» agnostic.  Many people immediately gripe that the SSIS «data» types (the types it uses when you’re looking at column data) should be SQL types — like INT, CHAR, etc…  Those people are (to be bluntly rude) myopic and don’t understand what the SSIS product was aiming for.  SSIS isn’t solely intended to work for SQL Server and be unfriendly to other DBs.  To be cynical, it was intended to be equally unfriendly to all of them :).  Not really.  The SSIS team constructed a «superset» of types that they felt would work well with many players — even though it would introduce a completely «proprietary» type set to the product.

      Second, it appears as though SSIS’s variable types were plucked straight from .Net.  That makes some sense, as variables get used in Scripts.  It doesn’t make sense in that variables seem to get used more in «data» operations — either in Derived Column, Conditional Split, Execute SQL Task, etc.  I think that they probably would have been better off in the understandability department if they’d used the same «data» type set here as well.  However, I don’t know any of the impact of doing that, and can only think that they had some valid problems regarding doing that.

      The best advice I could probably give you is to take it one step at a time until you understand the interaction between your construct(s) and SSIS.  By that, start with fewer than 14 columns — perhaps add groups of columns by «type».  Add one decimal column to your statement, make sure it populates the variable the way you think it should, then add the other columns of the same type using the same pattern you’ve validated.  It would be nice if the errors «informed» more rather than just gave «data» about the problem(s) — but until that happens, you should take things step by step until you get comfortable with the process.

      Overall, the biggest issue I think you have, and will continue to have, is the «mindset» one.  SSIS isn’t C#, DTS, or T-SQL.  I’m no expert in a lot of areas of SSIS (configurations, events, …) but I can easily and quickly make up a package for any situation I’ve encountered so far using the building blocks that are already there.  Sure, I’ve constructed new things to make life easier for me.  But the world changed after I really «got it».  The «oh, that’s what this thing is trying to do.»  I find that a lot with Microsoft products.  If you get inside their heads and «be one» with the way they intend you to use the «system» (C#, SQL, …) you’ll be fine.  If you try to cram it into your world-view, buy some Aspirin.


      Todd McDermid's Blog

    • Thanks for the reply

      Ok — so how is this for a simple example:The example only takes 3 min to build.

      1 table ; 1 field of Decimal data type. 1 record = 1.233 or anything else you like : its a DECIMAL(5,3)  in SQL land right?

      Now try to pass that into a foreach loop into any type of global SSIS variable you like. (I tried EVERY type — of course there isnt one to cater for decimal data types. Thats what i meant about matching like varchar —> string). NONE worked.
      Im not looking for a C# or a SQL, Im just looking for something that comes even remotely close to doing what it says on the tin.

    • When trying to view errors I now get this: Progress reporting has been disabled. All progress messages will not be displayed and will be discarded. To enable progress reporting, on the SSIS menu, select Debug Progress Reporting….

      Its almost unbelievable..

    • Got debugging back along with this beauty:

      Decimals arent supported…….

      [Execute SQL Task] Error: Executing the query «EXEC USP_GetNewF80Records ? » failed with the following error: «The type is not supported.DBTYPE_DECIMAL». Possible failure reasons: Problems with the query, «ResultSet» property not set correctly, parameters not set correctly, or connection not established correctly.

    • Try this.

      Build your Execute SQL Task to query your test table for the complete result set, but cast the decimal to a CHAR, like this:

      SELECT CAST(TestCol AS CHAR(10)) FROM TestTable

      In your Foreach Loop Container, use a string variable to map to that index.  You can use that string elsewhere in other SQL statements if you wish, or set up a Double variable with an expression like this:

      (DT_R8) @[User::StringVar]

      You’ll have to set «User::StringVar» to «0» in order to set that expression using the expression editor.


      Todd McDermid's Blog

    • Todd

      I needed to do logical operations on the decimal variable : ie: if interest rate is between x and y do this , else do that. I cant do that with a string.

      Are you confirming then that Decimal data types are crippled in SSIS? Why is there a DT_DECIMAL  datatype? Also , if DT_R8 is a double and that works, why cant I map my SQL decimal data type to it?

      Im sorry , but Im not getting any of this….

      Did you try with a extremely basic example as I did above?

    • Yes, I did — and I successfully ran my loop by using a string variable to load the value, then a double variable to «use» it.  Which you could do as well.

      I don’t know why there’s no decimal type in the variable types.

      DT_R8 is a double, but won’t map to a decimal column, which isn’t a double.  You have to (unfortunately) go the roundabout route to get the numeric value into a double.

      It’s likely that decimal types aren’t supported for the same reason BIGINTs weren’t (see here again).


      Todd McDermid's Blog

    • OK- I have tried the example as you suggested :

      All my decimals are getting culled… so 1.24350 is ending up as 1 etc..

    • Thats probably because its still in a string datatype — Ive just tried converting it to a double in the global variable and its failing…. where and when does it get set to a double….. btw it need to be sent into a proc that is expecting a decimal again…..

    • I dont follow…

      I set up a gloabl string variable in the package. 
      I have the initlal SELECT passing a CHAR type to the foreach loop.
      The Foreach loop is mapped to the string gloabl variable.
      The inner EXECUTE is expecting a VARCHAR datatype

      .. so where is the DOUBLE?

    • I only used a double variable to show that you could convert the string representation of the DECIMAL table value into a numeric if that’s how you wanted to use it.  I thought you might need it in a numeric format if you were doing comparisons on it in your control flow — perhaps as contraint expressions.

      If you have your inner execute using the string variable representation, then just ignore the talk about double.

      The reason you’re likely getting the error when attempting to use the expression builder to evaluate that expression is because your «LoanInterestRate» variable doesn’t have a convertible value set in it at design time.  Go to the Variables pane and set the «value» to «0» (no quotes).  Now you should be able to add a double variable with the expression you tried.  Again — not necessary if using the string variable only is working for you (as it very well could).


      Todd McDermid's Blog

    • OK — thats sorted now — no error in SSIS and data is getting passed across to the proc

      BUT all the values in the DB have now lost their decimals….

      The Proc is expecting a decimal input parameter…. what should I passing in to keep the decimals ?

    • You’re currently passing in the string variable for that parameter?

      And you’ve inspected the string parameter at runtime to see if it shows the decimals?

      Have you peeked at a SQL Profiler trace to see what the sproc call looks like?


      Todd McDermid's Blog

    • As far as i thought I was passing a double but only God knows what happens to these data types inside SSIS

      I have inspected the variable and a «string» decimal(whatever that is) is being passed to the variable.

      I dont see how its possible to go back from a string to a decimal….. but i will check the profiler to see whats happening ….

      • Edited by
        Geeee
        Tuesday, June 2, 2009 10:05 PM

    • When I say «You’re currently passing in the string variable for that parameter?» I mean to ask that you’re using a String-typed SSIS variable to map to that parameter of the sproc.

      If I understand you correctly, you know that the decimal value is correctly represented in that string variable before you attempt to execute your inner sproc.

      And likely, you’ve set that parameter to your sproc to be a string type in the Execute SQL Task’s parameter mapping page, correct?  Or something different?


      Todd McDermid's Blog

    • My previous post :

      OK — thats sorted now — no error in SSIS and data is getting passed across to the proc

      BUT all the values in the DB have now lost their decimals….

      T
      The Proc is expecting a decimal input parameter…. what should I passing in to keep the decimals ?

      I need it back to a decimal — There is a reporting system on the other end of it.

    • I must admit Im losing track too….

      We have had to go from a DECIMAL to a STRING and then to a DOUBLE and then back to a DECIMAL 

    • I understand your sproc has defined one of the parameters as a decimal — got that.

      What «type» have you set that parameter to in the Execute SQL Task in SSIS?  String?

      What does the profiler trace show the call looks like?


      Todd McDermid's Blog

    • It’s easy to lose track, especially when we’re talking three different type systems — «SSIS variables», «SSIS data», and T-SQL…  I’m more confused than you, because I don’t have it in front of me…


      Todd McDermid's Blog

    • I have set the the type to DOUBLE

      Doing the trace now

    • Trust me — youre doing well

      Its in front of me and thats just as bad —  combine a bad UI with the illogical approach theyve taken and I would be better off if I was blind

    • Trace is showing a float !!!!!

      exec sp_executesql N’EXEC USP_GetNewF80Records @P1 ‘,N’@P1 float’,3.23333

    • Is that a good thing?  I think it should be, no?

      Oh — and if you wanted to do away with the parameters and everything, you could.  (Don’t shoot me.)  You could basically do «dynamic SQL» into a string variable in SSIS, then just execute the contents of the variable.


      Todd McDermid's Blog

    • Is it good? — I changed the proc input parameter to float and no data gets through to the table — change it back to Decimal and the decimals get lost….

    • What I need is a way to do away with SSIS — I need something that actually does what SSIS says it does without requiring a thousand work arounds for even the most simple of tasks….. one where a data transform actually does that , and one that handles all data types , one with a debugger , and one that has correct documentation.

      I still think that people should be warned on the blogs and forums about this product —  many companies will jump in without testing the water only to realise after theyve lost loads of money> This product is a scam …. its not fit for a production environment yet

      Cant wait to see how Booleans and Bit data types are handled.

    • That sounds odd.  I’m no T-SQL guru, but you’d think it would be able to implicitly convert a float to a decimal.  I would anyway.

      OK — perhaps you need to go the «dynamic SQL» route.

      Take your package all the way up to the Foreach Loop — it’s good up to there, including your setup of the loop with the decimal valued parameter set up to write into an SSIS String variable.  Now, inside the loop, create a variable — let’s call it «SQLStatement».  Make it evaluate as an expression, then use this (for example) as an expression:

      «EXEC USP_GetNewF80Records » + @[User::LoanInterestRate]

      Now change your inner Execute SQL Task to run the SQL statement from that variable.


      Todd McDermid's Blog

    • I understand you’re frustrated — but you’re not using SSIS as a data transformation engine.  You’re using it as a T-SQL orchestration engine.

      It’s built with a different frame of mind, and I’d argue that it does have a debugger — just not the kind you’re looking for — as you’re using the orchestration engine to do data tasks.

      Some of the issues you’re facing aren’t actually SSIS’ domain, they are the responsibility of the OLE DB driver.  Although when they get used, they’re used under the SSIS umbrella, so it naturally gets the blame.  In a lot of cases, rightfully so.

      In the Data Flow, I think you’ll find it much more natural to handle data.  Actually, scratch that.  You’d probably find it immensely foreign.  The data flow does handle booleans and bits — the «data» types have DT_BOOL and DT_UI1 types for that.  The control flow — which uses variables more heavily — has a boolean type, but I think the closest to bit is an Int16 — not sure though — although Int32 should work fine, no?

      It might work better for you if you started «from scratch» and didn’t try to use the Execute SQL Tasks and Foreach Loop.  Use the Data Flow Task instead, and work with the data in the data flow…


      Todd McDermid's Blog

    • Yes I am frustrated .. again. And with good reason.

      The documentation is erroneous and misleading. Int32 data types are not meant to handle floating types and they cant. According to the docs, all data types are handled… but thats because the people writing the help files did so before the engine was built. As it turns out, data types ARENT handled  properly at all. If I cant get a simple decimal to work , what happens when I try the more exotic types.??  More wasted days.

      SSIS is ok for very basic data transfer functions — no less and no more. Strings are OK —  Its not just the alien approach theyve taken to the UI , the fact is it just doesnt work the way they say it should. Read the documentation on data types and Im sure you will agree. Blantant lies. 

      This is the first time Ive used a MS product that is so obviously flawed and few people are blogging about its short comings — which I find surprising. It must be because there isnt much take-up which I also find strange. 

      The major flaw is the Data Types — no question about that. You cant be expected to have to jump through 3 different data type hoops to get where you need to be. If I find it foreign other programmers will find it foreign. Not because we dont do foreign…. its because its badly designed….

      Once again thanks for your help …    

    • You’re welcome for the help — it’s been a long thread.

      I don’t happen to share your opinion that SSIS is OK for basic transfer functions.  I’ve got it loading my (albeit relatively small < 10GB) data warehouse nightly — extracting data from an old COBOL system.  I’ve written an SCD transform for myself because I didn’t like the performance limitations of the built-in SCD Wizard — even though I understand why they’re there — and because I didn’t want to use tens of other built-in components to do that job.  (And because I wanted to tinker.)

      There have been a few blog posts written over the years about the shortcomings of SSIS.  One guy here today has been quite loud about his opinion — you’d probably agree, but be a little more diplomatic about it.  Here’s one (http://ayende.com/Blog/archive/2007/07/15/SSIS-15-Faults.aspx) that several of the SQL MVPs have responded to in other posts on their own blogs (links within the comments on that one).

      Personally, I could never break in to DTS.  The Import/Export Wizard was great — but it was a solid wall of garbage after that.  Not that I tried very hard.  SSIS was different.  Sure, it had a learning curve — and in fact was backwards — the Import/Export wizard was bad, but I liked the designer.  The more I understood about how the SSIS designers intended me to move data, the better it worked.

      I was disappointed with the lack of outwardly-visible improvements in 2008.  I know now that they seem to have concentrated on the internals from 2005 to 2008 — probably due to pressures inside MS to get SSIS to «scale» well so they could stand up to terabyte loads.  I really hope that the next SSIS pays attention more to the kind of problems that you’ve had here — which are not as uncommon as they should be.

      Jamie Thomson in particular has filed tons of Connect issues about the usability of SSIS.  Simple interface things that trip people up everyday, and/or become a pain to use everyday (too many clicks).  Here’s hoping that they do focus on that — and maybe get some more bodies to throw at it too — although that seems unlikely in this climate…

      It is definitely a frame of mind thing.  You’re used to Linq — I’m not.  I do appreciate what it’s providing — type safe, intellisense — I like all that.  I just can’t find the time to get into the right frame of mind to make it work for me.  Until I figure out how the designers want me to use it, I’ll end up fighting it.  I’m that way with data-bound controls.  Never did get that figured out — so I avoid data binding at almost all costs…


      Todd McDermid's Blog

    • I have now confirmed that DateTimes SQL data types fail as well.

      Same preparation as before:

      1 Table 1 Field — add date value
      Add a global variable of datetime type.
      Add Resultset of object type.
      Create the SQL statement

      In foreach loop set up Collection and Variable Mappings and Enumerator.(set index to 0)

      This a now a extremely basic datetime to datetime.

      Of course this fails because SSIS just cannot handle SQL data types : Error: ForEach Variable Mapping number 1 to variable «User::LastPaymentDate» cannot be applied.

      I tried casting to DT_DATE in the global expression variables and all the other date data types and they all fail too.

      I have no idea how people are using this tool as a proper ETL solution when all it can do is basic import end export functionality — Its clearly unable to handle any data type other than string. We have already establishlished that it cant handle DECIMAL data types and now I have proved it cant handle date data types either. I dont see why everything has to be cast to a string to use SSIS.

      • Edited by
        Todd McDermid
        Wednesday, June 3, 2009 4:22 PM
    • Click on the below link to get the answer
      You will surely get the perfect answer.

      http://msdn.microsoft.com/en-us/library/ms187928.aspx

      Convert(varchar,  <variable_name> , <format>)

      here varchar is type of variable that contains the string to vonvert in date
      variable_name is the name of the variable that contains the string eg. str = 1252009
      format is the value e.g 101,102,103,104 etc.. to convert the string value in particular
      format e.g. ddmmyy,ddmmmyyy etc.

    If you’re getting SQL Server error Msg 241 that reads Conversion failed when converting date and/or time from character string, it’s probably because you’re trying to convert a string to a date/time value, but that particular string can’t be converted to the date/time type specified.

    Example of Error

    Here’s an example of code that produces the error:

    SELECT CAST('Tomorrow' AS date);

    Result:

    Msg 241, Level 16, State 1, Line 1
    Conversion failed when converting date and/or time from character string.

    Here, we tried to convert the string Tomorrow to the date type, but Tomorrow is not a valid date that can be converted to a date type.

    SQL Server can’t convert the string to a date and so it returned an error.

    Solution 1

    The most obvious way to fix this is to change the string to resemble an actual date. Or if it does resemble a date, change the string literal to a format that can be converted to the particular date/time type that we’re trying to convert it to.

    If you’re passing a column, check that you’ve got the right column. Same if you’re passing a variable – check that it’s the right variable.

    For example, the following conversion succeeds:

    SELECT CAST('20 Feb 2030' AS date);

    Result:

    2030-02-20

    Depending on the format of the input date, you might be better off using the CONVERT() function, so that you can specify the format of the input date expression.

    Example:

    SELECT 
        CONVERT(date, '03/02/2030', 101) AS 'US with century',
        CONVERT(date, '03/02/30', 1) AS 'US without century',
        CONVERT(date, '03/02/2030', 103) AS 'British with century',
        CONVERT(date, '03/02/30', 3) AS 'US without century';

    Result:

    +-------------------+----------------------+------------------------+----------------------+
    | US with century   | US without century   | British with century   | US without century   |
    |-------------------+----------------------+------------------------+----------------------|
    | 2030-03-02        | 2030-03-02           | 2030-02-03             | 2030-02-03           |
    +-------------------+----------------------+------------------------+----------------------+

    Solution 2

    Another way to deal with the error is to use either TRY_CAST() or TRY_CONVERT(). These functions return NULL instead of the error.

    Example:

    SELECT TRY_CAST('Tomorrow' AS date);

    Result:

    NULL

    This doesn’t necessarily address the underlying issue though, it merely hides it. The conversion still couldn’t take place.

    In any case, it may still be a viable option, depending on your needs.

    Solution 3

    Another way to deal with the error is to convert the string to a different data type. Obviously, this is no good if you want to end up with a date type, but perhaps the error came about because you accidentally specified date type instead of the other type.

    Example:

    SELECT CAST('Wednesday' AS char(3));

    Result:

    Wed

    Ошибка преобразования даты и/или времени из символьной строки при вставке датавремя



    Я пытаюсь создать таблицу следующим образом:

    create table table1(date1 datetime,date2 datetime);

    сначала я попробовал вставить значения, как показано ниже

    insert into table1 values('21-02-2012 6:10:00 PM','01-01-2001 12:00:00 AM');

    Он дал ошибку говоря,

    не удается преобразовать varchar в datetime

    затем я попробовал ниже формат как один из сообщений, предложенных нашим stackoverflow,

    insert into table1 values(convert(datetime,'21-02-2012 6:10:00 PM',5)
    ,convert(datetime,'01-01-2001 12:00:00 AM',5));

    но я все еще получаю сообщение об ошибке сказав,

    ошибка преобразования дата и / или время из символьной строки

    какие предложения?


    6729  


    12  

    12 ответов:

    существует множество форматов, поддерживаемых SQL Server-см. MSDN книги онлайн на литье и конвертировать. Большинство из этих форматов зависимая на какие настройки у вас есть — поэтому эти настройки могут работать несколько раз — а иногда и нет.

    способ решить эту проблему-использовать (слегка адаптированный)формат даты ISO-8601 что поддерживается SQL Server — этот формат работает всегда — независимо от вашего SQL Server язык и dateformat.

    The формат ISO-8601 поддерживается SQL Server поставляется в двух вариантах:

    • YYYYMMDD только для дат (без временной части); Примечание здесь:без черточек!, это очень важно! YYYY-MM-DD — это не независимо от параметров dateformat в вашем SQL Server и будет не работа во всех ситуациях!

    или:

    • YYYY-MM-DDTHH:MM:SS для даты и время-обратите внимание здесь: этот формат и тире (но они можете опускается), а фиксированный T как разделитель между датой и временем часть вашего DATETIME.

    это допустимо для SQL Server 2000 и новее.

    так что в вашем конкретном случае — использовать эти строки:

    insert into table1 values('2012-02-21T18:10:00', '2012-01-01T00:00:00');
    

    и вы должны быть в порядке (Примечание: Вы должны использовать международный 24 часа формат, а не 12-часовой формат AM / PM для этого.)

    как вариант: если вы находитесь на SQL Server 2008 или новее, вы также можете использовать DATETIME2 тип данных (вместо обычного DATETIME) и текущего INSERT будет работать без каких-либо проблем! : -)DATETIME2 намного лучше и намного менее разборчивы в преобразованиях — и это рекомендуемые типы данных даты/времени для SQL Server 2008 или более новых в любом случае.

    SELECT
       CAST('02-21-2012 6:10:00 PM' AS DATETIME2),     -- works just fine
       CAST('01-01-2012 12:00:00 AM' AS DATETIME2)   -- works just fine  
    

    не спрашивайте меня, почему вся эта тема-это так сложно и несколько сбивает с толку-вот так оно и есть. Но с помощью YYYYMMDD формат, вы должны быть в порядке для любой версии SQL Server и для любого языка и dateformat настройки в SQL Server.

    преобразование в SQL server иногда не удается из-за используемых форматов даты или времени, это просто потому, что вы пытаетесь сохранить неправильные данные, которые не приемлемы для системы.

    пример:

    Create Table MyTable (MyDate);

    Insert Into MyTable(MyDate) Values ('2015-02-29');

    SQL server выдаст следующую ошибку:

    Conversion failed when converting date and/or time from character string.

    причина этой ошибки просто нет такой даты (февраль-29) В Год (2015).

    простой ответ-5 итальянский » yy «и 105 итальянский»yyyy». Таким образом:

    SELECT convert(datetime,'21-02-12 6:10:00 PM',5)
    

    будет работать правильно, но

    SELECT convert(datetime,'21-02-12 6:10:00 PM',105)
    

    выдаст ошибку.

    кроме того,

    SELECT convert(datetime,'21-02-2012 6:10:00 PM',5)
    

    выдаст ошибку, где, как

    SELECT convert(datetime,'21-02-2012 6:10:00 PM',105)
    

    будет работать.

    по возможности следует избегать конкретных литералов даты/времени культуры.

    есть немного безопасное форматы для предоставления даты / времени в виде литерала:

    все примеры для 2016-09-15 17:30:00

    ODBC (мой любимый, так как он обрабатывается как реальные тип сразу)

    • {ts'2016-09-15 17:30:00'} —Штамп Времени
    • {d'2016-09-15'} —Дата только
    • {t'17:30:00'} —время только

    ISO8601 (самое лучшее для везде)

    • '2016-09-15T17:30:00' —будьте в курсе T в середине!

    Unseperated (крошечный риск быть неправильно истолкованным как число)

    • '20160915' —только для чисто дата

    хорошо иметь в виду: неверные даты, как правило, появляются с странные ошибки

    • там нет 31 июня или 30-го февраля…

    еще одна причина странных ошибок преобразования: порядок выполнения!

    SQL-сервер хорошо знает, чтобы делать вещи в порядке выполнения, который можно было бы не ожидать. Ваше письменное заявление выглядит так, как будто преобразование сделано до какое — то действие, связанное с типом, происходит, но двигатель решает — почему-то-сделать преобразование на более позднем этапе.

    вот отличная статья, объясняющая это с помощью примеры: Rusano.com: «т-с SQL-функций-не-не-означает-есть-то-порядок выполнения» и вот это на вопрос.

    просто обновите формат даты, как показано ниже

    yyyy-MM-dd hh:MM:ss
    

    это решает проблему для меня, и он отлично работает

    самый лучший способ-это код

    "select * from [table_1] where date between convert(date,'" + dateTimePicker1.Text + "',105) and convert(date,'" + dateTimePicker2.Text + "',105)"
    
    convert(datetime2,((SUBSTRING( ISNULL(S2.FechaReal,e.ETA),7,4)+'-'+ SUBSTRING( ISNULL(S2.FechaReal,e.ETA),4,2)+'-'+ SUBSTRING( ISNULL(S2.FechaReal,e.ETA),1,2) + ' 12:00:00.127')))  as fecha,
    

    пожалуйста, попробуйте это.

    SQL Server ожидает даты в формате MM/DD / YYYY,если английский язык установлен в качестве языка по умолчанию.Здесь я сохраняю значение datepicker в sql2008 database.My тип поля-datetime в базе данных.dpdob — это мое имя datepicker.

               Dim test = dpdob.Text.Replace("-", "/")
               Dim parts As String() = test.Split(New Char() {"/"c})
               Dim firstPart As String = parts(0)
               Dim thirdPart As String = parts(2)
               Dim secondPart As String = parts(1)
               Dim test1 = secondPart + "/" + firstPart + "/" + thirdPart
               Dim dob = test1
    

    теперь используйте dob в запросе вставки.

    формат datetime на самом деле работает на sql server

    yyyy-mm-dd hh:MM:ss
    

    вы можете попробовать этот код

    select (Convert(Date, '2018-04-01'))
    

    у меня была эта проблема при попытке объединить getdate() в строку, которую я вставлял в поле nvarchar.

    Я сделал некоторые кастинги, чтобы обойти его:

     INSERT INTO [SYSTEM_TABLE] ([SYSTEM_PROP_TAG],[SYSTEM_PROP_VAL]) VALUES 
       (
        'EMAIL_HEADER',
        '<h2>111 Any St.<br />Anywhere, ST 11111</h2><br />' + 
            CAST(CAST(getdate() AS datetime2) AS nvarchar) + 
        '<br /><br /><br />'
       )
    

    это санированный пример. Ключевой частью этого является:

    ...' + CAST(CAST(getdate() AS datetime2) AS nvarchar) + '...

    отлитая дата как datetime2, тогда как nvarchar объединить его.

    установите язык и региональные параметры на английский из интернета.конфигурационный файл

      <globalization uiCulture="en-US" culture="en-US" />
    

    например, если вы установите язык и региональные параметры на арабском языке thime будет

    22.09.2017 02:16: 57 ص

    и вы получаете ошибку:ошибка преобразования даты или времени из символьной строки при вставке датавремя

    ORACLE 12.2 has a new option to handle conversion errors when using functions like CAST, TO_NUMBER, TO_CHAR, TO_DATE, etc. Using this option we may avoid conversion errors an return a default value instead.

    The examples use TO_DATE but the option is useable in the other conversion functions accordingly


    EXAMPLE TO_DATE

    In case of a string to date conversion error we would like to return the 1st of January of 2016.

    WITH data (str) AS (SELECT '15.01.2016' FROM dual UNION ALL
                        SELECT '30.06.2016' FROM dual UNION ALL
                        SELECT '30.02.2016' FROM dual UNION ALL
                        SELECT 'gugus' FROM dual UNION ALL
                        SELECT '07.03.2016' FROM dual UNION ALL
                        SELECT '15.10.2016' FROM dual)
    SELECT str
     , TO_DATE(str DEFAULT '01.01.2016' ON CONVERSION ERROR,'DD.MM.YYYY') AS conversion
     FROM data
    /
    
    STR CONVERTED 
    ---------- ----------
    15.01.2016 15.01.2016
    30.06.2016 30.06.2016
    30.02.2016 01.01.2016
    gugus      01.01.2016
    07.03.2016 07.03.2016
    15.10.2016 15.10.2016
    
    6 rows selected.  
    

    Using SYSDATE as default

    Using SYSDATE as the default value instead of a literal value works as expected.

    WITH data (str) AS (SELECT '15.01.2016' FROM dual UNION ALL
                        SELECT '30.06.2016' FROM dual UNION ALL
                        SELECT '30.02.2016' FROM dual UNION ALL
                        SELECT 'gugus' FROM dual UNION ALL
                        SELECT '07.03.2016' FROM dual UNION ALL
                        SELECT '15.10.2016' FROM dual)
    SELECT str
     , TO_DATE(str DEFAULT SYSDATE ON CONVERSION ERROR,'DD.MM.YYYY') AS converted
     FROM data
    / 
    
    STR CONVERTED 
    ---------- ----------
    15.01.2016 15.01.2016
    30.06.2016 30.06.2016
    30.02.2016 30.09.2016
    gugus      30.09.2016
    07.03.2016 07.03.2016
    15.10.2016 15.10.2016
    
    6 rows selected. 
    

    Default to start of the year…

    So next step would be to invoke a function on sysdate, to get the first day of the current year as the default value for an occuring conversion error.

    WITH data (str) AS (SELECT '15.01.2016' FROM dual UNION ALL
                        SELECT '30.06.2016' FROM dual UNION ALL
                        SELECT '30.02.2016' FROM dual UNION ALL
                        SELECT 'gugus' FROM dual UNION ALL
                        SELECT '07.03.2016' FROM dual UNION ALL
                        SELECT '15.10.2016' FROM dual)
     SELECT str
          , TO_DATE(str DEFAULT TRUNC(SYSDATE,'YEAR') ON CONVERSION ERROR,'DD.MM.YYYY') AS converted
     FROM data
    / 
    
    Error at Command Line : 8 Column : 28
     Error report -
     SQL Error: ORA-43907: This argument must be a literal or bind variable.

    So, I am a little bit puzzled…we can use SYSDATE but not having a function around it…


    Choosing another column value as the default

    Now, how about choosing another column of the same table as the default value?

    WITH data (str,dateval) AS (SELECT '15.01.2016', date '2015-07-15' FROM dual UNION ALL
                                SELECT '30.06.2016', date '2015-07-16' FROM dual UNION ALL
                                SELECT '30.02.2016', date '2015-07-17' FROM dual UNION ALL
                                SELECT 'gugus' , date '2015-07-18' FROM dual UNION ALL
                                SELECT '07.03.2016', date '2015-07-19' FROM dual UNION ALL
                                SELECT '15.10.2016', date '2015-07-20' FROM dual)
     SELECT str
          , dateval
          , TO_DATE(str DEFAULT dateval ON CONVERSION ERROR,'DD.MM.YYYY') AS converted
     FROM data
    /
     
    Error at Command Line : 9 Column : 29
    Error report -
    SQL Error: ORA-43907: This argument must be a literal or bind variable.
    

    Ok, perhaps it needs to be a string using the same format mask?

    WITH data (str,dateval) AS (SELECT '15.01.2016', date '2015-07-15' FROM dual UNION ALL
                                SELECT '30.06.2016', date '2015-07-16' FROM dual UNION ALL
                                SELECT '30.02.2016', date '2015-07-17' FROM dual UNION ALL
                                SELECT 'gugus' , date '2015-07-18' FROM dual UNION ALL
                                SELECT '07.03.2016', date '2015-07-19' FROM dual UNION ALL
                                SELECT '15.10.2016', date '2015-07-20' FROM dual)
     SELECT str
          , dateval
          , TO_DATE(str DEFAULT TO_CHAR(dateval,'DD.MM.YYYY') ON CONVERSION ERROR,'DD.MM.YYYY') AS converted
     FROM data
    /
     
    Error at Command Line : 9 Column : 29
    Error report -
    SQL Error: ORA-43907: This argument must be a literal or bind variable.
    

    So, how can this be solved? 

    Now, we could return NULL in case of a conversion error and then replace a null value by the value of the second column…like this:

    WITH data (str,dateval) AS (SELECT '15.01.2016', date '2015-07-15' FROM dual UNION ALL
                                SELECT '30.06.2016', date '2015-07-16' FROM dual UNION ALL
                                SELECT '30.02.2016', date '2015-07-17' FROM dual UNION ALL
                                SELECT 'gugus'     , date '2015-07-18' FROM dual UNION ALL
                                SELECT '07.03.2016', date '2015-07-19' FROM dual UNION ALL
                                SELECT '15.10.2016', date '2015-07-20' FROM dual UNION ALL
                                SELECT NULL        , date '2015-07-21' FROM DUAL)
    SELECT str
         , dateval
         , NVL(TO_DATE(str DEFAULT NULL ON CONVERSION ERROR,'DD.MM.YYYY'),dateval) AS converted
     FROM data
    /
    
    STR        DATEVAL    CONVERTED 
    ---------- ---------- ----------
    15.01.2016 15.07.2015 15.01.2016
    30.06.2016 16.07.2015 30.06.2016
    30.02.2016 17.07.2015 17.07.2015
    gugus      18.07.2015 18.07.2015
    07.03.2016 19.07.2015 07.03.2016
    15.10.2016 20.07.2015 15.10.2016
               21.07.2015 21.07.2015
    
    7 rows selected. 
    

    but…I only wanted to replace values that are not convertable by the second value, not null values…

    WITH data (str,dateval) AS (SELECT '15.01.2016', date '2015-07-15' FROM dual UNION ALL
                                SELECT '30.06.2016', date '2015-07-16' FROM dual UNION ALL
                                SELECT '30.02.2016', date '2015-07-17' FROM dual UNION ALL
                                SELECT 'gugus' , date '2015-07-18' FROM dual UNION ALL
                                SELECT '07.03.2016', date '2015-07-19' FROM dual UNION ALL
                                SELECT '15.10.2016', date '2015-07-20' FROM dual UNION ALL
                                SELECT NULL , date '2015-07-21' FROM DUAL)
    SELECT str
         , dateval
         , CASE 
              WHEN str IS NULL THEN NULL
              ELSE NVL(TO_DATE(str DEFAULT NULL ON CONVERSION ERROR,'DD.MM.YYYY'),dateval)
           END AS converted
     FROM data
    /

    A little bit complicated, but this way I get what I want.


    Handling different date formats in one query

    Now another test case, having an input stream using different date formats…

    WITH data (str) AS (SELECT '15.03.2016' FROM dual UNION ALL
                        SELECT '2005/03/15' FROM dual UNION ALL
                        SELECT '15-MRZ-2016' FROM dual UNION ALL
                        SELECT '15-MAR-2016' FROM dual UNION ALL
                        SELECT '15. MARCH 2016' FROM dual UNION ALL
                        SELECT '15-MAALIS-2016' FROM DUAL UNION ALL
                        SELECT '15-BRE-2016' FROM DUAL)
    SELECT str
         , COALESCE(TO_DATE(str DEFAULT NULL ON CONVERSION ERROR,'DD.MM.YYYY')
                   ,TO_DATE(str DEFAULT NULL ON CONVERSION ERROR,'YYYY/MM/DD')
                   ,TO_DATE(str DEFAULT NULL ON CONVERSION ERROR,'DD-MON-YYYY','NLS_DATE_LANGUAGE=ENGLISH')
                   ,TO_DATE(str DEFAULT NULL ON CONVERSION ERROR,'DD-MON-YYYY','NLS_DATE_LANGUAGE=GERMAN')
                   ,TO_DATE(str DEFAULT NULL ON CONVERSION ERROR,'DD-MON-YYYY','NLS_DATE_LANGUAGE=FINNISH')
           ) AS converted
     FROM data
    / 
    
    STR            CONVERTED 
    -------------- ----------
    15.03.2016     15.03.2016
    2005/03/15     15.03.2005
    15-MRZ-2016    15.03.2016
    15-MAR-2016    15.03.2016
    15. MARCH 2016 15.03.2016
    15-MAALIS-2016 15.03.2016
    15-BRE-2016 
    
    7 rows selected.  
    

    Conclusion

    The DEFAULT … ON CONVERSION ERROR is a very powerful feature, which will help us solving conversion errors very elegant. Of course we will still not be able to do conversions when the input value is not unambiguous (A string value of ‘03.05.2016’ could be the 3rd of May as well as the 5th of March) but still a very welcome feature.

     

    Понравилась статья? Поделить с друзьями:
  • String subscript out of range c ошибка
  • String subscript out of range c как исправить
  • String or binary data would be truncated sqlstate 22001 error 8152
  • String indices must be integers как исправить
  • Stop code whea uncorrectable error