Strongly Typed Data in ASP .NET Web Forms

In ASP .NET Web Forms you’ve previously had to use strings to specify which properties you’d like to output when databinding, which would probably end up looking something like the following. In all likelihood it could probably look far less tidy if you’ve ever needed to do any formatting on values you’re about to outputContinue reading Strongly Typed Data in ASP .NET Web Forms

Using a RequiredFieldValidator on a DropDownList in ASP .NET

In most applications today drop-down lists default to a “Please select..” option with some form of validation to ensure the user makes their own selection. In ASP .NET web forms this frequently results in a drop-down list being created using code similar to that displayed below. We can add an ASP .NET RequiredFieldValidator and setContinue reading Using a RequiredFieldValidator on a DropDownList in ASP .NET