Fabio International


Programmatore Vb.Net ** Fabio Messina
Archivio Posts
Anno 2015

Anno 2009

Anno 2007

Anno 2006
Statistiche
  • Views Home Page: 19.247
  • Views Posts: 96.328
  • Views Gallerie: 0
  • n° Posts: 103
  • n° Commenti: 13

Scrivere solo numeri in una Textbox

Una funzione per far si che una Textbox accetti solo numeri è la seguente:

If (Not IsNumeric(e.KeyChar)) And (Asc(e.KeyChar) <> 8) Then

e.Handled = True

End If

Questo va scritto nell' evento KEYPRESS della textbox
martedì, 12 giu 2007 Ore. 19.11
Ora e Data
Calendario
maggio 2024
lmmgvsd
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003