Browse by Tags

SamuraiProgrammer.Web.UI - v0.5
One of my friends suggested that I should provide a download for all of the little code snippets, controls, etc. that I throw up on my blog so people don't have to constantly copy/paste into their IDE of choice. I thought about it and it sounded like Read More...
String Concatenation
This is an old topic, but as I work with developers more and more, I find that there is still some gray area on this topic. Concatenating strings is probably one of the most comment tasks that most developers perform in their work-lives. If you've ever Read More...
Visibility of Fields Within FormView
A quick trick that I'm sure many of you know. Suppose you had a FormView on a page bound to a datasource. Within that FormView, you have several fields that may or may not contain data. Now, suppose that for whatever reason, your sponsor would like you Read More...
GridView Grouping and Checkbox Lists
I was helping a co-worker today with one of his screens and realized that it may makea useful little tutorial for all those other folks out there. This was somewhat interesting because it follows up pretty well on my previous postas I talk about saving Read More...
One-to-Many: What is the best way to store the values?
If you've been a developer for any period of time, you have probably come across this question. If you're given a one-to-many relationship in a table, what is the best way to insert those values into a database. For example, let's say that you had a Person Read More...
Input Validation
It seems that I always appear to run into this issue when performing code reviews. As has been well documented in various locations on the web - all input is evil, until proven otherwise. Some people attempt to mitigate this risk by providing dropdowns Read More...
Typeof Vs. TryCast
I was researching something this morning and came across a great blog entry from way back showing an update to the tried and true TypeOf and Ctype/DirectCast code. I realized immediately thatI could apply this little tidbit to my current code. In-fact, Read More...