webForumDet fria alternativet

if

1 svar · 268 visningar · startad av DavidB

DavidBMedlem sedan jan. 20001 372 inlägg
#1

varför fungerar inte den här båda värdera är ett men den fungerar ändå inte, vet nån vad som är fel?

<% If RS("id") = Request.Querystring("id") Then %>
hej
<% End If %>

------------------
// David - Probably the best guy in the world

VideMedlem sedan dec. 19998 577 inlägg
#2

Testa att konvertera datatyperna till int och jämnför:

Cint(RS("id")) = Cint(Request.Querystring("id"))

------------------
It's now safe to turn your computor to the left.
Kom hem till mig...

128 ms totalt · 3 externa anrop · v20260731065814-full.30151723
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
126 ms — hämta tråd, inlägg och bilagor (db)