ASP Key exist check
Key exist check
<html>
<body>
<%
dim d
set d=Server.CreateObject("Scripting.Dictionary")
d.Add "n", "Red"
d.Add "i", "Green"
if d.Exists("n")= true then
Response.Write("Key exists!")
else
Response.Write("Key does not exist!")
end if
set d=nothing
%>
</body>
</html>