Output integer and string in Response.Write : Write « Response « ASP.NET Tutorial






<%@ Page Language="VB" %>

<script runat="server">
   dim strName as String = "a"
   dim intNumber as integer = 4   
   
   sub Page_Load(Sender as object, e as eventargs)
      Response.Write("The value of strName is: ")
      Response.Write(strName & "")   
         
      Response.Write("The value of intNumber is: ")
      Response.Write(intNumber & "")
      
      'Response.Write("Their product is: ")
      'Response.Write(intNumber * strName & "")
   end sub
</script>

<html>
<body>
</body>
</html>








6.4.Write
6.4.1.Use Response.Write to output message based on HTML tags (VB.net)
6.4.2.Calculation in Response.Write (VB)
6.4.3.Calculation in Response.Write (C#)
6.4.4.Output integer and string in Response.Write
6.4.5.Output HTML tags in Response.Write, change the tag properties dynamicallys (VB.net)
6.4.6.Create Client Side MessageBox
6.4.7.Send text file to client