There are some elements all sites should provide for their users. For instance, most sites should make available a link to a printer-friendly version of a Web page. Web sites almost always surround the real content with navigation bars, advertisements, page counters, and other elements that often distract readers. And, when users print pages, they're tainted by links and images that are completely unrelated to the users' real subject of interest. You can use my PrinterFriendly class to give your...
Most of us already use round-corners to give a more attractive look to our web sites. What about creating a reusable control, with dynamically generated corner images we can easily skin with themes? In a previous post I already suggested a way to create a reusable dynamic text-generating control. Here we will use the same technique: a custom HttpHandler to dynamically render the corner images....
Often it is convenient to pass a given set of values as input parameter to a cursor. It is very useful where nested cursors are used. Parameterizing the cursor makes it more usable and avoids the limitation of hard coding values in where the clause. In this code snippet, Deepankar examines this technique with the help of the relevant SQL code. He also provides a brief analysis of the code and also a screenshot of the final output....