1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| <%@ Page Language="VB" %>
<%@ Import Namespace="System.Web.UI.Page"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.PreviousPage Is Nothing Then
Dim SourceTextBox As TextBox
SourceTextBox = CType(PreviousPage.FindControl("cwT"), TextBox)
If Not SourceTextBox Is Nothing Then
cwL.Text = SourceTextBox.Text
End If
End If
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>soumission entre pages : destination</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="cwL" Text="vide" runat="server"></asp:Label>
</div>
</form>
</body>
</html> |