Home| Progetto| Web| Faq| Acronimi | ||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
Asp.net...
Info:
Esecuzione di una pagina aspx
Oracle...
Script:
dbms_output.put_line
Unix...
Tip:
How remove a file named -r
PLSQL...
Script:
How to store in a variable execute immediate results
Asp.net...
Tip:
Un solo web form lato server...
Asp.net...
Faq:
Cosa è un Controllo Server (Server Control)?
Shell scripting...
Script:
Compact if construct
A User Agent, like a web browser, uses HTTP to request a HTML document
Php Funzione mail()
In programming the danger of exploring the small details of coding is that you get obsessed with every line of code you write, thereby greatly reducing productivity.
In general, is not worth obsessing over code. On the other hand you should code with deliberation and intent. Steven Feurstein Oracle Magazine July /August 2004 A User Agent, like a web browser, uses HTTP to request a HTML document
|
Asp.net
Home >Asp.net > Controlli e validazione
file eventi2.aspx ************************************************************ <%@ Page Language="VB" ClientTarget="downlevel" %> <%@ Register TagPrefix="prefisso" TagName="Istruzioni" Src="specifiche.ascx" %> <%@ Register TagPrefix="prefisso" TagName="TestoBox" Src="eventi2.ascx" %> <script language="VB" runat="server"> Sub Page_Load(Sender As Object, E As EventArgs) txtLabel.Testo = "" ' Il controllo del textbox gestisce il proprio funzionamento ' nel suo specifico evento Page_Load cfr. Eventi2.ascx. End Sub Sub btnSubmit_Click(Sender As Object, E As EventArgs) ' Settaggio l'etichetta(label) del testo del textbox txtLabel.Testo = txtName.Name 'La validazione è eseguita dal controllo Eventi2.ascx End Sub </script> <html> <head> <title>ASP.NET Esempio controllo utente - Validazione ed Eventi</title> </head> <body bgcolor="#FFFFFF"> <form runat="server"> <prefisso:TestoBox id="txtName" runat="server" /> <br /> <asp:button id="btnSubmit" onClick="btnSubmit_Click" text="Submit" runat="server" /> </form> <prefisso:Istruzioni id="txtLabel" runat="server" /> </body> </html> ************************************************************ file eventi2.ascx <script language="VB" runat="server"> Sub Page_Load(Src As Object, E As EventArgs) Dim TestoIniziale As String = "Inserire il nome" If Page.IsPostBack Then If txtName.Text = TestoIniziale txtName.Text = "" End If Else txtName.Text = TestoIniziale End If End Sub Public Property Name As String Get Return txtName.Text End Get Set txtName.Text = Value End Set End Property </script> Name: <asp:textbox id="txtName" runat="server" /> <hr> <asp:RequiredFieldValidator ControlToValidate="txtName" id="valtxtName" Display="Dynamic" runat=server> E' obbligatorio inserire il nome! </asp:RequiredFieldValidator> ************************************************************ file specifiche.ascx <script language="VB" runat="server"> Public Colore As String = "black" Public Testo As String = "Questo è un controllo!" </script> <p> <font color="<%= Colore %>"> <%= Testo %> </font> </p> Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Esercizi ![]() ![]() ![]() Comandi ![]() ![]() ![]() |
Cerca
Asp.net...
Info:
Esecuzione di una pagina aspx
Anger is creative, depression is useless.
Dyson, Freeman J. Anger is creative, depression is useless.
Dyson, Freeman J.
Asp.net...
Info:
Esecuzione di una pagina aspx
Oracle...
Definizioni:
Transazione
Shell scripting...
Script:
Script for archiving and compressing folder and file
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |