Justin Cooney
Web Development Tips and Examples
Month: August 2011
-
Today I was working on a maintenance Web page that triggers a SQL Server stored procedure. This stored procedure can either run quite quickly, or it can take in excess of seven minutes to finish. So in order to let the user know that the process is executing in the background I added a small…
-
First off let me start by saying that if possible it is best to avoid using cursors since they do have their drawbacks (for starters, they suffer performance issues). However in my opinion, there are times where cursors are very useful. There seems to be an ongoing witch hunt to vilify cursors that I do…
-
Often when building a Web site there is a need to log the HTML of the page that is displayed to the user. This, for example, can be useful for history logging or emailing a copy of the form. Since I frequently use .NET Webforms it is actually relatively easy to obtain the rendered HTML…