Home » 2011 » January

Archive for January, 2011

Operation must use an updateable query

Server Error in ‘/TestSite’ Application Operation must use an updateable query. Issue: Denied right to ASP.NET Machine Account to modify access db Resolution – Make sure Internet Guest Account has a read/write rights – Open application folder properties and add ASP.NET Machine Account if does not exist – Permit the ASP.NET Machine Account to modify […]

Simple Javascript Calculator

This is simple javascript calculator <html> <head> <title>Calculator</title> <script language=”javascript”> var inputstring=” ” function updatestring(value) { inputstring += value; document.calculator.input.value=inputstring; } </script> <style type=”text/css”> #tb-lo { /*background: url(Calc-bg.png); */ height: 222px; width: 198px; padding: 2px 2px 2px 2px; background-image: url(Calc-bg.png); background-repeat: no-repeat; } #td-key { text-align: center; } </style> </head> <body> <form name=”calculator”> <table id=”tb-lo”> […]

Calculating total from recordset using “select case”

Here is code in classic asp Here is example on how to calculate recordset total using “select case” statement. I have calculated essay and resume scholarship values based on records fromĀ  two essay and resume tables, and queried results based on applicant-student registration ID or name. Then I calculated “total score” of each student using […]