Standard Namespace includes [%@ Import Namespace = “System.Collections.Hashtable” %] [%@ Import namespace=”System.Text.regularexpressions” %] [%@ Import Namespace=”System.Type” %] [%@ Import Namespace=”System.Data” %] [%@ Import Namespace=”System.Drawing” %] [%@ Import namespace=”System.IO” %] [%@ Import namespace=”System.Text” %] [%@ Import namespace=”System.Math” %] [%@ Import namespace=”System.XML” %] —————————————————————- Clearing Server Cache  in 1 sec. If specific for variable mention variable name… (0 comment)

How to effectively delete Log files in SQL 2000 ? * Backup DB (just in case something goes wrong) * Enterprise manager >> DBName [Rightclick] >> Options >> Single User Mode (If it complains others are using the DB, open Query Analyzer and sp_who and kill those Process ids) * Enterprise manager >> DBName [Rightclick]… (1 comment)

Page1.asp [textarea name=”txt” cols=”50″ rows=”5″ class=”content”][%=Replace(request.QueryString(“editaddr”),”\n”,vbcrlf)%][/textarea] Page2.asp Used for displaying (replace vbcrlf with [br] tag) [%=replace(request.form(“txt”),vbcrlf,”[BR]”) can be used for editing (replace vbcrlf with \n) [input type=”hidden” name=”hidAnswers” value=”[%=Replace(Request.form(“txt28″),vbcrlf,”\n”)%]”] this \n is changed back to vbcrlf in page1.asp all angle brackets (… (0 comment)

The MRU refers to “most recently used,” which is the list of files you have used recently, as noted at the bottom of the File menu. This list is a wonderful aid most of the time, but is also very revealing. Everyone who uses your computer knows the name of the last file (or files)… (0 comment)

To create UTF-8 encoded files using ASP, using ADODB Stream object. PS : Dont use FileSystemObject to create UTF-8 encoded files, as it wont work. const adTypeBinary = 1 const adSaveCreateOverwrite = 2 const adModeReadWrite = 3 Set objStream = server.CreateObject(“ADODB.Stream”) objStream.Open objStream.CharSet = “UTF-8” objStream.WriteText(“your text goes here”) objStream.SaveToFile server.mappath(“.”) & “/fname.txt” , adSaveCreateOverWrite… (0 comment)