• /r/csharp
  • Issue with SSIS C# Code for derived date

    Hi Guys, I am a C# noobie here and I am trying to convert a date in my flat file that is shown as 12-Jan-2013 to mm-dd-yyyy. I was trying to use public override void Input0_ProcessInputRow(Input0Buffer Row) { DateTime varDate; bool isParsed; isParsed = DateTime.TryParseExact(Row.Column0, "dd-MMM-yyyy", System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.None, out varDate); But it is now dumping […]

  • /r/csharp
  • Batch Printing in WinForms

    I'm working with very old code at work, and the task at hand is to take an arbitrary number of RTF documents and print them. Currently, the code sends them one at a time, which is a problem because a common use case has our users printing fifty or more documents this way. This is […]