Hola, casi me da verguenza preguntar esto...
Porque esta variable no tiene valor?
si le asigno el valor dentro del Page_Load tampoco funciona
<%@ Page Language="VB" Debug="True" %>
<script runat="server">
Dim strNombre As String = "pepe"
</script>
<html>
<head>
</head>
<body>
<%# strnombre%>
</body>
</html>