Archive for September, 2008
OK, all you programmer types. Here’s where SQL starts getting interesting. You have the basic concepts of declaring variables, setting up stored procedures, and doing a basic insert, update or delete statement. And if we stopped here, you’d probably be able to do 80% of the work you need to do.
You’d also start to wonder why you should even bother.
So now we tackle the basics of conditional programming in SQL.
We’ve discussed interfaces before, but today I want to dig a little deeper. I’m going to assume for now that you already know what an interface is and that you know how to implement one on a class.
But let’s assume for a bit that you have two interfaces that have exactly the same method declared in them but each implementation of the method has two entirely different meanings. How do you code for this?
A couple of days ago I ran into a requirement to conditionally display footnote information at the bottom of a GridView display. We were already conditionally displaying icons in the row. What we needed to do was to conditionally show text at the bottom of the screen that explained what each icon was for. Here’s how we went about it.