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:
Opzione DEFAULT per il valore di una colonna
Unix...
Tip:
Eseguire più comandi in una sola linea
PLSQL...
Script:
Record
Asp.net...
Tip:
Un solo web form lato server...
Asp.net...
Faq:
Cosa è un Controllo Server (Server Control)?
Shell scripting...
Script:
Script for archiving and compressing folder and file
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
Php Funzione mail()
XPath is a language for addressing parts of an XML document.
It is designed to be used by XSLT and XPointer.
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
|
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
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
Asp.net...
Info:
Esecuzione di una pagina aspx
Oracle...
Definizioni:
Scalar Subquery
Shell scripting...
Script:
Pulire i file provenienti da ambieti dos/ windoes da caratteri sporchi
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 |