Raj Kaimal

If it ain't broke, make it better.

  • XMLSerializer and invalid XML

    A user had pasted some text from powerpoint into a textarea in one of our web apps which was eventually serialized into XML. Upon trying to de-serialize the XML, the web server threw the exception below:

  • LINQ to SQL Paging Gotcha

    Framework Version: 3.5

    I ran into an issue with how LINQ to SQL implements the Skip and Take operators which leads to records being repeated or missing when performing custom paging.

  • Windows 7 Backup

    The backup tool that comes with Vista does not allow users to select individual folders for backup. Instead the user is presented with a default list of locations for backup. Because of this limitation, I had to resort to other third party tools to do the job.

  • Windows 7 – Start Bar and Task Bar

    I Installed 7 RTM yesterday and I am really  impressed by the speed improvements compared to Windows Vista.

    Even though I am still learning the new features, there are a couple of things I have seen that I really like so far.

    You can now click on the network icon in the taskbar and easily connect or disconnect to any network you have configured including VPN connections.

  • FormView Binding Gotcha

    Version: ASP.NET 3.5 SP1

    This post describes two gotchas with the FormView control when binding:
    1) When performing two way databinding, Null values and Nullables get changed to string.Empty in the FormView.
    2) Two way binding is not supported for nested controls.

    When performing two way databinding, Null values and Nullables get changed to string.Empty in the FormView.
    The way the FormView control handles null values has caused me some grief :-(