Blog Stats
  • Posts - 7
  • Articles - 1
  • Comments - 1
  • Trackbacks - 9

 

SmallDateTime Conversion

    Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer)
        If String.IsNullOrEmpty(Row.Date.Trim()) Then
            Row.NewDate_IsNull = True
        Else
            Row.NewDate = DateTime.Parse(Row.Date)
        End If
        If String.IsNullOrEmpty(Row.Age.Trim()) Then
            Row.NewAge_IsNull = True
        Else
            Row.NewAge = Int32.Parse(Row.Age)
        End If
    End Sub

Feedback

No comments posted yet.


Post a comment





 

Please add 1 and 2 and type the answer here:

 

 

Copyright © Kent Tegels