Morpheusweb.it - Risorse per webmaster: script, ASP.NET, C#, Visual Basic .Net, tutorial, asp, javascript, css, php, html, java, ADO, VBScript, forms, frames, Active Server Pages, Dynamic HTML, database, gratis per webmaster e webdesigner

Numeri random - << VERSIONE C# >>


Generare numeri random


<%@ Page Language="VB" Debug="true" %>
<script runat="server">
Sub Page_Load(Source as Object, E as EventArgs)
Dim i as integer
Randomize()
i = CInt(Int((10 * Rnd()) + 1))
response.write ("Numero : " & i)
end sub
</script>



Scarica il Codice...


Stampa la pagina


 








Inizio pagina

risorse per webmaster