[Vb.net] Problème Formulaire
Observer attentivement les déclaration de formulaire, mais actions sont changé automatiquement pour une raison que je ne comprend pas
Voici mon code source:
Code:
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
| <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Login</title>
</head>
<body>
<form id="formu" action="login.aspx" runat="server" method="post" >
<div align="center" >
<table style="width: 736px; height: 298px">
<tr>
<td style="width: 231px; height: 153px">
</td>
<td style="width: 246px; height: 153px" align="center">
</td>
<td style="width: 229px; height: 153px">
</td>
</tr>
<tr>
<td style="width: 231px; height: 34px">
</td>
<td style="width: 246px; height: 34px" align="center">
Utilisateur<asp:TextBox ID="utilisateur" runat="server"></asp:TextBox></td>
<td style="width: 229px; height: 34px">
</td>
</tr>
<tr>
<td style="width: 231px; height: 36px">
</td>
<td style="width: 246px; height: 36px" align="center">
Password<asp:TextBox ID="password" runat="server"></asp:TextBox></td>
<td style="width: 229px; height: 36px">
</td>
</tr>
<tr>
<td style="width: 231px; height: 36px">
</td>
<td style="width: 246px; height: 36px" align="center">
<asp:Button runat="server" ID="submit" Text="Login" /><input type="submit" name="Submit" value="OK" /></td>
<td style="width: 229px; height: 36px">
</td>
</tr>
</table>
</div>
</form>
</body>
</html> |
Voici ce que le code source du navigateur affiche
Code:
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
Login
</title></head>
<body>
<form name="formu" method="post" action="Default.aspx" id="formu">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTExNTc2NTI3OTlkZFDH+nZzdKobGAXw5IcYBRU3ZZBY" />
</div>
<div align="center" >
<table style="width: 736px; height: 298px">
<tr>
<td style="width: 231px; height: 153px">
</td>
<td style="width: 246px; height: 153px" align="center">
</td>
<td style="width: 229px; height: 153px">
</td>
</tr>
<tr>
<td style="width: 231px; height: 34px">
</td>
<td style="width: 246px; height: 34px" align="center">
Utilisateur<input name="utilisateur" type="text" id="utilisateur" /></td>
<td style="width: 229px; height: 34px">
</td>
</tr>
<tr>
<td style="width: 231px; height: 36px">
</td>
<td style="width: 246px; height: 36px" align="center">
Password<input name="password" type="text" id="password" /></td>
<td style="width: 229px; height: 36px">
</td>
</tr>
<tr>
<td style="width: 231px; height: 36px">
</td>
<td style="width: 246px; height: 36px" align="center">
<input type="submit" name="submit" value="Login" id="submit" /><input type="submit" name="Submit" value="OK" /></td>
<td style="width: 229px; height: 36px">
</td>
</tr>
</table>
</div>
<div>
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBALsmcGuAQLKorzXCQLyveCRDwLcu4S2BEPCwR+0Elxpzx/FeoBbnfnB9sdV" />
</div></form>
</body>
</html> |