Browse by Tags
All Tags »
VB.NET (RSS)
I am sure just about any of us that have done any development work against a database, and who hasn’t, has come across this error, ‘String or binary data would be truncated’. This is really a warning more than it is an error, but will
Read More...
In college I majored in polymer chemistry and I thought I would use some of that chemistry today to demonstrate how to use Dictionary(of TKey, TValue) (VB.NET), Dictionary<TKey, TValue> (C#) class. The generic Dictionary(of TKey, TValue) class is
Read More...
Dealing with Null values (nothing in VB.NET) is a common problem for programmers of any stripe. Null dates stored in the database seem to be a common issue developers experience when they start dealing with null values. Null values in the database for
Read More...
So I like VB better than C# for many reasons. Primarily because development experience in VB is built to help productivity. The Development experience in C# is built around being proud of the language rather than solving problems quickly. I could point
Read More...
Professional LINQ (Programmer to Programmer) by Scott Klein Read more about this book... I am really getting into LINQ right now, so I am looking for good references to get the concepts in my brain. I ordered a copy of Scott Klein's Professional LINQ
Read More...
I was perusing the ASP.NET forums tonight and saw an entry where the person was asking on help on getting the number of days in a month in .NET . While the asker was making a simple mistake and could not see the forest for the trees, it got me thinking
Read More...
I never, and I mean never use the System.Web.UI.Page class as the class I inherit my Web Forms. I have a base class that I inherit from the Page class that has a set of methods and properties that I reuse many times over. Often I create more classes that
Read More...
This summer I got to work on a project that stretched my experience a little by requiring that I learn to use the compression classes in the .NET framework. There is not a whole lot of stuff out there on using these classes so I thought I would attempt
Read More...
So after a long period of writing and researching I have finally submitted the last content to Wiley for the upcoming ASP.NET 2.0 Visual Blueprint book. I think they have it slated for a December release date. This has been a very long and trying process.
Read More...
Recently I had a friend tell me they were working on a project where they had to hand scrub the data in their database. In particular that day they were manually scrubbing values like 'Not Applicable', 'NA' and 'N/A' which all meant the same thing. But
Read More...
Cross page postbacks are a great feature introduced with ASP.NET 2.0 that allows a developer to specify another page/form to submit the form. This gives us more control over our site and helps us get away from nasty data manangement coding on the backend side. This new feature howerver introduces the need to consistently access the controls from the previous page. I decided to write some wrappers to help with this functionality.
Read More...
I am always looking for good references on the net and one of the things I tend to have problems with is dealing for date formatting. Katy Kam has a great entry on her blog which should serve as a great reference for Date formatting in .NET.
Read More...
I like to find sample code ot help me solve my problems, who doesn't? Often I find good C# code and I prefer VB.NET, so going through and rewriting the code can be tedious. I have long used Alex Lowe's converter, but I think it leaves a few holes and may not have been updated for 2.0. I think this was just developed as an example of advance reflection capabilities anyway.
Read More...
I think every developer/team should have a good set of utility functions to help make code cleaner and easier to maintain. Typicaly these are methods that probably should be in the core framework for us to use, but somehow the framework team never got around to it. The first method I am going to talk about is one I use multiple times on every site and often multiple times on any given page, SelectListControlItem.
Read More...
I am excited to announce that I will be making two presenations at the October 7th Richmond Code camp. I will be talking about how to optimize ASP.NET sites for better peromance and URLRewriting.
Read More...