The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,319 other followers

Archive for September, 2013

.NET/C#: When the DbDataAdapter.Update throws an exception, it is a bit tough to find the involved Command

Posted by jpluimers on 2013/09/24

When you call a DbDataAdapter.Update, and it throws an exception, the exception does not include the underlying Command and its parameters.

Since the DbDataAdapter can have three commands for applying changes (DeleteCommand, InsertCommand and UpdateCommand), asking those is a bit inconvenient.

The other way is to attach an event handler to the DAL specific RowUpdated event (for instance SqlDataAdapter.RowUpdated).

This is event is called from the virtual OnRowUpdatedMethod, and has a value parameter of type RowUpdatedEventArgs which contains the Command, and Errors that occurred. Errors is just the Exception that can help indicate what went wrong.


via: DbDataAdapter.Update Method System.Data.Common.

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »

Some ZFS links

Posted by jpluimers on 2013/09/23

I want to move my storage over from dual RAID5 to ZFS, so here are a few links for my research list:

SSD and supercapacitors

Best practices

Not so good practices



Synchronous writes/ZIL

ZFS streams:





Recovery lessons


Posted in *nix, Power User, ZFS | Leave a Comment »

Sciences jokes…

Posted by jpluimers on 2013/09/20

Came accross the Chemistry Cat jokes on  quickmeme, some of which are more generic science jokes than chemistry ones.

The ones I like most:

  1. PageTeach me about absolutely zero

    How often do you like chemistry jokes?

    What to do with a sick chemist?
    If you can’t helium, and
    you can’t curium then
    you might as well barium.

    I studied exothermic reactions
    before they were cool.

  2. PageHOH HOH HOH
    Water joke

    Blew my chemistry experiment
    Oxidents happen

    Is silicon the same in Spanish

    Neutron wants to pay tab
    Bartender: no charge for you

  3. PageChemistry puns
    I’m in my element

    Chemistry jokes
    are elemental


Posted in About, Opinions, Personal | Leave a Comment »

Jeffrey’s Exif viewer: a great non-regex thing on (:

Posted by jpluimers on 2013/09/19

You’d think that the site only has information on Jeffrey Friedl’s Mastering Regular Expressions (a great book on RegEx programming) MRE2 Errata,  MRE3 Errata and Where to get egrep (agrep and sourcecode/binary builds).

Not so (:

It also hosts a few other things, mostly having to do with imagery or photography:


Posted in Development, Personal, Photography, Power User, RegEx, Software Development | Leave a Comment »

.NET: some links on merging assembly DLLs into your EXE

Posted by jpluimers on 2013/09/18

Need to research this further, as I’ve seen some Interop DLLs that – when automatically merged from within Visual Studio – will not function correctly.

Keywords: ILMerge, msbuild, mkbundle.


Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »

<span>%d</span> bloggers like this: