Samurai Programmer.com

"By three methods we may learn wisdom:  First, by reflection, which is noblest; Second by imitation,
which is easiest; and third by experience, which is the bitterest." - Confucius

Welcome to Samurai Programmer.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » ASP.NET Tips an... » VB.NET
  • 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 a good idea but I think I'll do things a little bit different.  I fully intend to ...
    Posted to Samurai Programmer.com (Weblog) by Greg on September 27, 2007
  • 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 done some searching around, though, you'll find that there are 2 main ways that people ...
    Posted to Samurai Programmer.com (Weblog) by Greg on September 16, 2007
  • 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 to make a control and its label disappear if the corresponding field contained ...
    Posted to Samurai Programmer.com (Weblog) by Greg on September 11, 2007
  • GridView Grouping and Checkbox Lists

    I was helping a co-worker today with one of his screens and realized that it may make a useful little tutorial for all those other folks out there.  This was somewhat interesting because it follows up pretty well on my previous post as I talk about saving records with a 1 to many relationship.  Basically, he needed to develop a ...
    Posted to Samurai Programmer.com (Weblog) by Greg on August 21, 2007
  • 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 table and an Attribute table.  Each person can have more than one attribute ...
    Posted to Samurai Programmer.com (Weblog) by Greg on August 19, 2007
  • 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 or calendar controls to coach our users into entering the right values.  While ...
    Posted to Samurai Programmer.com (Weblog) by Greg on August 15, 2007
  • 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 that I could apply this little tidbit to my current code.  In-fact, I'm going to refer to an entry I made just a few short weeks ago. In this ...
    Posted to Samurai Programmer.com (Weblog) by Greg on July 22, 2007
Powered by Community Server, by Telligent Systems