Dave Burke - A freelance .NET Developer specializing in Online Communities

A freelance .NET Developer

Browse by Tags

All Tags » .Net Discovery of the Day (RSS)
Sorry, but there are no more tags available to filter with.
Using reflection for either ParentType usercontrol or webpage
I had a piece of code in a usercontrol today which could have been the child of either a web page or another usercontrol. If I've referred to a usercontrol type with reflection before I've forgotten it, so today's reflection tidbit seemed like the first...
Formatting CheckBoxLists with CSS. Finding some space.
I needed a multi-column CheckBoxList the other day and encountered the old CheckBox-Butt-up-Against-The-Text syndrome. I added some string manipulation hack the last time I dealt with this, but determined to do it differently this time. Simply put, I...
HtmlInputFile posting from a usercontrol in OnUpdateCommand
As the subject says, I am posting a file in a Datalist <EditItemTemplate> in an OnUpdateCommand event method using a HtmlInputFile HTML Input control. I've used HtmlInputFile quite a bit and its always worked great, but not today. The usercontrol...
Referencing Dynamically Loaded Controls from Child Controls using Strongly Typed Classes
The subtitle of this post is "If Karl can't reference it, no one can!" Big fat thank you, Karl! In a comment to one of my previous posts on this subject, Karl (last name not known...yet) very generously provided a killer approach to referencing dynamically...
Handling the comma. Period.
One of my favorite words for as long as I can remember is "minutia" (or "minutiae" plural.) My blog is filled with minutiae, and would have been more aptly titled ".NET Minutiae and Very Little Else." That title might be taken, of course... I'm not obsessed...
Using SQL to obtain unique values, a guilty pleasure
I have a list of int IDs of individuals associated with a subject, with the list coming from various sources. There are most likely duplicates, but I want unique values only. I considered what type of algorithm I would use. An array perhaps, sort it and...
More on handling SQL null dates
Null SQL date values have been yankin' my nose hairs out of place lately, I think primarily because I'm using business objects more extensively which requires more value handling. I'm going to say that the following is an Insider's TIP for handling null...
Object reference instance error and the web.config
Problem Your app is looking for an appsetting value in the web.config and when it isn't found generates the error Object reference not set to an instance of an object. Resolution Add the friggen' appsetting value Analysis Wooo-wee! This is a humdinger...
Back in Session, or, More on Controls in Controls
The dynamically loaded, multi-tiered control architecture of this afterhours project has its benefits, certainly, but with it I'm forced to use different approaches to communicating among objects throughout the app. A particular child control has a different...
The simple repeater
I'm a Datalist Man. Always have been. Probably always will be. But there's overhead in the datalist control that can get in the way of a fragile HTML display environment. I wanted simple right align of a list of first and last names. I trimmed the string...
More Posts Next page »