questo codice per asp in asp.net mi da errore, mi potreste dare una mano ?
<%
Dim tmp
tmp = request.QueryString()
if tmp<>"" then tmp = "?" & tmp
%>
http://<%=request.ServerVariables("server_name")%><%=requ est.serverVariables("path_info")%><%=tmp%>
questo codice per asp in asp.net mi da errore, mi potreste dare una mano ?
<%
Dim tmp
tmp = request.QueryString()
if tmp<>"" then tmp = "?" & tmp
%>
http://<%=request.ServerVariables("server_name")%><%=requ est.serverVariables("path_info")%><%=tmp%>
una cosa del genere per fortuna non si può + fare.
Risolvi mettendo nel codice
una cosa simile
'codice html
<%# Funzione_Link(parametro1, parametro2) %>
'dove hai il codicd VB
function Funzione_Link(ByVal parametro1 as String, ByVal parametro2 as String) as String
'qui fai i tuoi controlli
return tua_var_finale 'sarebbe quello che vuoi restituire
end function