Geeks With Blogs

News
Impossibility is not an option! My blog about .Net programming, what is possible and what (sometimes) drives me crazy!
We just had a problem with data that is sent to SQL Server as a XML string. One of the values sent to the SQL Server is defined in the C# class as a double and interpreted as a 'DECIMAL(28, 9)' on the SQL Server. This was working so far. Just wen someone entered a quite small number (0.000013) it stopped working. The reson: 1.3E-05 is sent to the SQL ......

Once in a while everyone seems to come across one of them. One of the really good developers. They seem to dream in code and while they are typing away on their keyboards, they hardly seem to think - they just now! But how did they got to this point? It's hard to say. Partly it is a talent, partly it is only learned. Depending on how you came into IT ......

While refactoring an application today, I had to configure a couple of ComboBoxes programmaticaly. To simplify this, I cam up with the following piece of code. public class ComboboxBinder { //---- Members ---------------------------... private readonly ComboBox _combobox; //-------------------------... ......

As you might have seen, there has been some blogging about named format strings in the last days. Fun With Named Formats, String Parsing, and Edge Cases (Phil Haack) Named Formats Redux (Phil Haack) Named Format Strings(James.ToString()) If you didn't came across it, the general idea is to use something like: "foo '{foo}' bar: {bar}".Format(new {foo ......

Easy deferred execution While programming, especially in GUI applications, you may have come across the problem of actions that take too long to run them in the foreground thread (aka GUI thread). .Net brings a couple of different possibilities to circumvent this, for example the ThreadPool, BackGroundWorker or the Dispatcher class in WPF. What they ......

15
Jan 09
Welcome to my blog about .NET programming, the universe and, generally, everything! This year has just started and I thought it is about time to start my own blog. I'll try to document my things learned in the IT world, especially in .NET developing. Hopefully you can pick up some tricks you didn't know so far! But first, that's about how I came to ......

Copyright © NotImpossible | Powered by: GeeksWithBlogs.net | Join free