-
Recent Posts
Recent Comments
- steven777400 on About
- Andre on About
- Jesse on Performance of array filter in JavaScript
- Zach on Mobile Safari not rendering HTML5 app correctly
- Jesse on Effective Internal/External Secure WCF Services
Archives
Categories
Meta
Blog Archives
Aside
In the phrase “It’s now or never”, never refers to an arbitrarily far in the future time that can not be reached. How far away is that? TimeSpan t = DateTime.MaxValue – DateTime.Now; var days = t.TotalDays; var years = … Continue reading
Comments Off on It’s now or never
Aside
We have a SQL 2008 database which has some varchar fields used to store times. I wanted to migrate them to use actual time fields, but the format entered into the varchar field had been inconsistent (as previously, there was … Continue reading
Comments Off on Using TRY_CONVERT in SQL Server 2012+ to migrate from varchar fields to strongly-typed fields
Aside
In the official MSDN documentation for .NET DataTable, it says: Do not throw a NullReferenceException within the RowChanged event handler. If a NullReferenceException is thrown within the RowChanged event of a DataTable, then the DataTable will be corrupted. I found, … Continue reading
Comments Off on .NET DataTable: Exception in ColumnChanged event disables change tracking?