Archive for the ‘ASP.Net’ Category

Scheduling a task to execute in ASP.Net

January 15th, 2009 No comments

I came across this article when I was looking into scheduling the execution of a ASP.Net script nightly:

The best part of the article is the HttpRequestor.vbs script, which is a very lightweight script to execute a webpage with no other program or desktop interaction needing to be performed.  To execute a webpage in a schedule task, you would put in something like “C:\path\HttpRequester.vbs http://localhost/ScheduleMe.asp".

Note:  There is a similar HttpRequest.vbs script going around, that is much, much heavier than this one.  Don’t confuse the two.

Attached files:

Categories: ASP.Net Tags:

Adding a single quote into a database using ASP.Net

January 14th, 2009 No comments

Want to add a single quote into a database using ASP.NET without the PITA factor of escaping strings?

Use parameterized queries!

Categories: ASP.Net Tags: