Archives
-
Collections and caching. Don't hit the database, hit memory.
What's a collection? The dumb answer is that collections are objects that implement ICollection. A slightly better answer would be to say that collection is a group of instances of any given object type or struct. One customer is an instance, many customers is a collection.
-
Validating Sections of a Page... Again.
The other day I described how to check the values of individual validation controls on a page rather than the entire page. It worked fine, but it meant writing blocks of code that I found kinda klunky (see that post for an example).
-
Generating a Comma-Delimited File from a DataSet
This is a pretty simple block of code. There are other ways to export a CDF, this works for me.
-
Validating Sections of a Page
I built a DataGrid with an EditTemplate to edit records and a FooterTemplate to Add records. I made the footer invisible and put a ButtonLink just below the grid to expand the footer. Then I made an if (IsValid) {}
section around my code to Update a record, and another around my code to Add a record. -
The two most frequently asked questions in I.T.
The two most frequently asked questions in I.T.:
1) How long will it take?
2) How much will it cost?