Aşağıdaki fonksiyon için görecektir hocam. C#'dan klasik asp'ye çevirdim umarım syntax hatası yapmamışımdır. Kontrol edersiniz.
İyi çalışmalar.
function temizle (text)
text = Replace(text,text,">", "");
text = Replace(text,text,"<", "");
text = Replace(text,"--", "");
text = Replace(text,"'", "");
text = Replace(text,"char", "");
text = Replace(text,"delete", "");
text = Replace(text,"insert", "");
text = Replace(text,"update", "");
text = Replace(text,"select", "");
text = Replace(text,"truncate", "");
text = Replace(text,"union", "");
text = Replace(text,"script", "");
text = Replace(text,"like", "");
text = Replace(text,"create", "");
text = Replace(text,"modify", "");
text = Replace(text,"rename", "");
text = Replace(text,"where", "");
text = Replace(text,"join", "");
text = Replace(text,"drop", "");
text = Replace(text,"alter", "");
text = Replace(text,"cast", "");
text = Replace(text,"=", "");
text = Replace(text,"%", "");
text = Replace(text,"!", "");
text = Replace(text,"#", "");
text = Replace(text,"<", "");
text = Replace(text,">", "");
text = Replace(text,"*", "");
text = Replace(text,"Chr(34)", "");
text = Replace(text,"Chr(39)", "");
end function