Steve Wellens


This Blog is dedicated to programming in the .Net enviroment

Browse by Tags

All Tags » C# (RSS)
How to Fill a ListBox/DropDownList from an Enum
There was a question about this on the Asp.Net forums and after a quick search I didn't find a good generic function so I thought I'd supply one. Note: I wanted this to be as broad and useful as possible, so the second parameter is a ListControl which...
Posted: Aug 19 2009, 11:57 AM by SGWellens | with 4 comment(s)
Filed under: , ,
What’s the Deal with Interfaces?
This post is for beginners. Many beginners struggle with the concept of an Interface. Over on the Asp.Net forums, where I moderate, the question is asked a surprising number of times. I'm going to try to describe and explain the concept of an Interface...
Posted: Jul 17 2009, 07:15 PM by SGWellens | with 8 comment(s)
Filed under: , ,
Why goto Still Exists in C#
Developers, Software Engineers, and Programmers are logical, rational, reasonable people right? Sure they are…until you disagree with something they believe in. Then they can become the most enflamed, outraged, foaming-at-the-mouth, intolerant, lunatics...
Posted: Jun 01 2009, 01:36 PM by SGWellens | with 20 comment(s)
Filed under: , ,
Using Session State in a Web Service
Usually, when you think of a Web Service, you think …make the call, get the response, and get on with the task at hand. These "one shot" calls are the norm in Web Services but there may be times when you need a little more. You may need the Web Service...
Master Page, Child Pages: Dynamic Communication Flexibility
Over on the ASP.NET forums, where I am a moderator, a user asked a question concerning Master Pages. I thought it was an interesting enough question to spend a little time on it and write a BLOG entry (golf season hasn't started in my state yet). The...
Rock the Cache Bar, Rock the Cache Bar
It's possible you may develop dozens of web sites without ever doing any data caching. However, if you are trying to increase performance, data caching can be a key tool. The Asp.Net Cache object is remarkably easy to use, but it has many settings which...
ILDasm Helpful Hack
I do not want to learn "yet another programming language", especially a low-level one like Microsoft's Intermediate Language (IL). And yet, sometimes it's useful to look under the hood and see what in tarnation is going on. And that means knowing something...
C# Nullable Types…Subtlety
While moderating posts over on the Asp.Net forums, I ran into a thread containing questions about using Nullable types. Nullable types are a simple concept: Allow value types to have the value of null. Typically, an integer or float cannot be null: When...
Create an XSD Schema….without knowing a darn thing about XSD.
Back in the old days, when dinosaurs roamed the earth, developers wanting to exchange data between applications used binary formatted data, hardcoded text field lengths, or delimited text files. Much parsing and error checking was involved. It was tedious...
From Table to TreeView…Displaying Hierarchies
Who remembers Object Databases ? At one time they were going to dominate the programming world. But, as with a lot of over-hyped technology (Lisp, AI, ADA, Virtual Reality) they were destined to a small niche segment of the market. Relational Databases...
More Posts Next page »