IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

ASP.NET Discussion :

Masque de saisie pour champs Date et Datetime


Sujet :

ASP.NET

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éclairé
    Administrateur systèmes et réseaux
    Inscrit en
    Janvier 2007
    Messages
    496
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Janvier 2007
    Messages : 496
    Par défaut Masque de saisie pour champs Date et Datetime
    Bonjour,
    je sais qu'il y a pas mal de sujet sur ce probleme mais je ne l'ai toujours pas résolu et j'espere etre dans le bon forum

    je travaille avec visual studio 2008, je crée des pages web sous forme de formulaire voici mon code :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Page2.aspx.vb" Inherits="WebApplication1.Page2" %>
    
    <!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>Page 2: Informations sur la prise de poste</title>
        <script language="javascript" type="text/javascript">
              
    	       function newWindow(page){
    	            window.open(page,"test","resizable=yes, menubar=no, status=no, scrollbars=yes, menubar=no, width=center, height=center");
    			}
        </script>
        <style type="text/css">
            #Button1
            {
                width: 111px;
                height: 40px;
            }
         
           
            #form1
            {
                height: 35px;
            }
         
           
            #Button2
            {
                height: 40px;
                width: 111px;
            }
         
           
       </style>
    </head>
    <body >
        <form id="form1" runat="server">
              <center><h2>Prise de poste</h2></center>
                  &nbsp;<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:PRODUCTIONConnectionString %>" 
                InsertCommand="INSERT INTO [Prise_Poste] ([Date], [Heure_debut], [Ligne], [Initiales], [Note_abords_de_ligne], [Note_objets_inutilse], [Note_zone_de_travail], [Note_objets_utilises], [Note_production_precedente], [Note_stocks], [Note_produit_identifie], [Note_indications], [Note_tableaux_matieres], [Note_document_de_travail], [Note_sols], [Note_dessus_machine], [Note_cage_queue], [Note_coffrets_electrique], [Note_fiche_de_demande_matiere], [Note_seconde_guipeuse], [Commentaires]) VALUES (@Date, @Heure_debut, @Ligne, @Initiales, @Note_abords_de_ligne, @Note_objets_inutilse, @Note_zone_de_travail, @Note_objets_utilises, @Note_production_precedente, @Note_stocks, @Note_produit_identifie, @Note_indications, @Note_tableaux_matieres, @Note_document_de_travail, @Note_sols, @Note_dessus_machine, @Note_cage_queue, @Note_coffrets_electrique, @Note_fiche_de_demande_matiere, @Note_seconde_guipeuse, @Commentaires)" 
                
                SelectCommand="SELECT [Identiifant_Pr], [Date], [Heure_debut], [Ligne], [Initiales], [Note_abords_de_ligne], [Note_objets_inutilse], [Note_zone_de_travail], [Note_objets_utilises], [Note_production_precedente], [Note_stocks], [Note_produit_identifie], [Note_indications], [Note_tableaux_matieres], [Note_document_de_travail], [Note_sols], [Note_dessus_machine], [Note_cage_queue], [Note_coffrets_electrique], [Note_fiche_de_demande_matiere], [Note_seconde_guipeuse], [Commentaires] FROM [Prise_Poste]" 
                DeleteCommand="DELETE FROM [Prise_Poste] WHERE [Identiifant_Pr] = @Identiifant_Pr" 
                UpdateCommand="UPDATE [Prise_Poste] SET [Date] = @Date, [Heure_debut] = @Heure_debut, [Ligne] = @Ligne, [Initiales] = @Initiales, [Note_abords_de_ligne] = @Note_abords_de_ligne, [Note_objets_inutilse] = @Note_objets_inutilse, [Note_zone_de_travail] = @Note_zone_de_travail, [Note_objets_utilises] = @Note_objets_utilises, [Note_production_precedente] = @Note_production_precedente, [Note_stocks] = @Note_stocks, [Note_produit_identifie] = @Note_produit_identifie, [Note_indications] = @Note_indications, [Note_tableaux_matieres] = @Note_tableaux_matieres, [Note_document_de_travail] = @Note_document_de_travail, [Note_sols] = @Note_sols, [Note_dessus_machine] = @Note_dessus_machine, [Note_cage_queue] = @Note_cage_queue, [Note_coffrets_electrique] = @Note_coffrets_electrique, [Note_fiche_de_demande_matiere] = @Note_fiche_de_demande_matiere, [Note_seconde_guipeuse] = @Note_seconde_guipeuse, [Commentaires] = @Commentaires WHERE [Identiifant_Pr] = @Identiifant_Pr">
                <DeleteParameters>
                    <asp:Parameter Name="Identiifant_Pr" Type="Int32" />
                </DeleteParameters>
                <UpdateParameters>
                    <asp:Parameter Name="Date" Type="Decimal" />
                    <asp:Parameter Name="Heure_debut" Type="Decimal" />
                    <asp:Parameter Name="Ligne" Type="String" />
                    <asp:Parameter Name="Initiales" Type="String" />
                    <asp:Parameter Name="Note_abords_de_ligne" Type="Int32" />
                    <asp:Parameter Name="Note_objets_inutilse" Type="Int32" />
                    <asp:Parameter Name="Note_zone_de_travail" Type="Int32" />
                    <asp:Parameter Name="Note_objets_utilises" Type="Int32" />
                    <asp:Parameter Name="Note_production_precedente" Type="Int32" />
                    <asp:Parameter Name="Note_stocks" Type="Int32" />
                    <asp:Parameter Name="Note_produit_identifie" Type="Int32" />
                    <asp:Parameter Name="Note_indications" Type="Int32" />
                    <asp:Parameter Name="Note_tableaux_matieres" Type="Int32" />
                    <asp:Parameter Name="Note_document_de_travail" Type="Int32" />
                    <asp:Parameter Name="Note_sols" Type="Int32" />
                    <asp:Parameter Name="Note_dessus_machine" Type="Int32" />
                    <asp:Parameter Name="Note_cage_queue" Type="Int32" />
                    <asp:Parameter Name="Note_coffrets_electrique" Type="Int32" />
                    <asp:Parameter Name="Note_fiche_de_demande_matiere" Type="Int32" />
                    <asp:Parameter Name="Note_seconde_guipeuse" Type="Int32" />
                    <asp:Parameter Name="Commentaires" Type="String" />
                    <asp:Parameter Name="Identiifant_Pr" Type="Int32" />
                </UpdateParameters>
                <InsertParameters>
                    <asp:Parameter Name="Date" Type="Decimal" />
                    <asp:Parameter Name="Heure_debut" Type="Decimal" />
                    <asp:Parameter Name="Ligne" Type="String" />
                    <asp:Parameter Name="Initiales" Type="String" />
                    <asp:Parameter Name="Note_abords_de_ligne" Type="Int32" />
                    <asp:Parameter Name="Note_objets_inutilse" Type="Int32" />
                    <asp:Parameter Name="Note_zone_de_travail" Type="Int32" />
                    <asp:Parameter Name="Note_objets_utilises" Type="Int32" />
                    <asp:Parameter Name="Note_production_precedente" Type="Int32" />
                    <asp:Parameter Name="Note_stocks" Type="Int32" />
                    <asp:Parameter Name="Note_produit_identifie" Type="Int32" />
                    <asp:Parameter Name="Note_indications" Type="Int32" />
                    <asp:Parameter Name="Note_tableaux_matieres" Type="Int32" />
                    <asp:Parameter Name="Note_document_de_travail" Type="Int32" />
                    <asp:Parameter Name="Note_sols" Type="Int32" />
                    <asp:Parameter Name="Note_dessus_machine" Type="Int32" />
                    <asp:Parameter Name="Note_cage_queue" Type="Int32" />
                    <asp:Parameter Name="Note_coffrets_electrique" Type="Int32" />
                    <asp:Parameter Name="Note_fiche_de_demande_matiere" Type="Int32" />
                    <asp:Parameter Name="Note_seconde_guipeuse" Type="Int32" />
                    <asp:Parameter Name="Commentaires" Type="String" />
                </InsertParameters>
            </asp:SqlDataSource> 
                  <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                  ConnectionString="<%$ ConnectionStrings:PRODUCTIONConnectionString %>" 
                  SelectCommand="SELECT [Note], [Libelle] FROM [Note_Prise_de_poste]">
              </asp:SqlDataSource>
          
             <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                 ConnectionString="<%$ ConnectionStrings:PRODUCTIONConnectionString %>" 
                 SelectCommand="SELECT [Ligne], [Atelier] FROM [Ateliers]">
             </asp:SqlDataSource>
          
            <asp:FormView ID="FormView1" runat="server" DataKeyNames="Identiifant_Pr" 
                DataSourceID="SqlDataSource1" DefaultMode="Insert" Height="100px" 
                Width="798px" AllowPaging="True" CaptionAlign="Top" 
                CellPadding="0" EnableTheming="True" Font-Overline="False" Font-Size="Medium" 
                Font-Strikeout="False" Font-Underline="False">
                <PagerSettings PageButtonCount="20" Position="Top" />
                <EditItemTemplate>
                    Identiifant_Pr:
                    <asp:Label ID="Identiifant_PrLabel1" runat="server" 
                        Text='<%# Eval("Identiifant_Pr") %>' />
                    <br />
                    Date:
                    <asp:TextBox ID="DateTextBox" runat="server" Text='<%# Bind("Date") %>' />                <br />
                    Heure_debut:
                    <asp:TextBox ID="Heure_debutTextBox" runat="server" 
                        Text='<%# Bind("Heure_debut") %>' />
                    <br />
                    Ligne:
                    <asp:TextBox ID="LigneTextBox" runat="server" Text='<%# Bind("Ligne") %>' />
                    <br />
                    Initiales:
                    <asp:TextBox ID="InitialesTextBox" runat="server" 
                        Text='<%# Bind("Initiales") %>' />
                    <br />
                    Note_abords_de_ligne:
                    <asp:TextBox ID="Note_abords_de_ligneTextBox" runat="server" 
                        Text='<%# Bind("Note_abords_de_ligne") %>' />
                    <br />
                    Note_objets_inutilse:
                    <asp:TextBox ID="Note_objets_inutilseTextBox" runat="server" 
                        Text='<%# Bind("Note_objets_inutilse") %>' />
                    <br />
                    Note_zone_de_travail:
                    <asp:TextBox ID="Note_zone_de_travailTextBox" runat="server" 
                        Text='<%# Bind("Note_zone_de_travail") %>' />
                    <br />
                    Note_objets_utilises:
                    <asp:TextBox ID="Note_objets_utilisesTextBox" runat="server" 
                        Text='<%# Bind("Note_objets_utilises") %>' />
                    <br />
                    Note_production_precedente:
                    <asp:TextBox ID="Note_production_precedenteTextBox" runat="server" 
                        Text='<%# Bind("Note_production_precedente") %>' />
                    <br />
                    Note_stocks:
                    <asp:TextBox ID="Note_stocksTextBox" runat="server" 
                        Text='<%# Bind("Note_stocks") %>' />
                    <br />
                    Note_produit_identifie:
                    <asp:TextBox ID="Note_produit_identifieTextBox" runat="server" 
                        Text='<%# Bind("Note_produit_identifie") %>' />
                    <br />
                    Note_indications:
                    <asp:TextBox ID="Note_indicationsTextBox" runat="server" 
                        Text='<%# Bind("Note_indications") %>' />
                    <br />
                    Note_tableaux_matieres:
                    <asp:TextBox ID="Note_tableaux_matieresTextBox" runat="server" 
                        Text='<%# Bind("Note_tableaux_matieres") %>' />
                    <br />
                    Note_document_de_travail:
                    <asp:TextBox ID="Note_document_de_travailTextBox" runat="server" 
                        Text='<%# Bind("Note_document_de_travail") %>' />
                    <br />
                    Note_sols:
                    <asp:TextBox ID="Note_solsTextBox" runat="server" 
                        Text='<%# Bind("Note_sols") %>' />
                    <br />
                    Note_dessus_machine:
                    <asp:TextBox ID="Note_dessus_machineTextBox" runat="server" 
                        Text='<%# Bind("Note_dessus_machine") %>' />
                    <br />
                    Note_cage_queue:
                    <asp:TextBox ID="Note_cage_queueTextBox" runat="server" 
                        Text='<%# Bind("Note_cage_queue") %>' />
                    <br />
                    Note_coffrets_electrique:
                    <asp:TextBox ID="Note_coffrets_electriqueTextBox" runat="server" 
                        Text='<%# Bind("Note_coffrets_electrique") %>' />
                    <br />
                    Note_fiche_de_demande_matiere:
                    <asp:TextBox ID="Note_fiche_de_demande_matiereTextBox" runat="server" 
                        Text='<%# Bind("Note_fiche_de_demande_matiere") %>' />
                    <br />
                    Note_seconde_guipeuse:
                    <asp:TextBox ID="Note_seconde_guipeuseTextBox" runat="server" 
                        Text='<%# Bind("Note_seconde_guipeuse") %>' />
                    <br />
                    Commentaires:
                    <asp:TextBox ID="CommentairesTextBox" runat="server" 
                        Text='<%# Bind("Commentaires") %>' />
                    <br />
                    <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                        CommandName="Update" Text="Mettre à jour" />
                    &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                        CausesValidation="False" CommandName="Cancel" Text="Annuler" />
                </EditItemTemplate>
                <InsertItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text="Inscrire la Date:" Width=627></asp:Label>                
                    <asp:TextBox ID="DateTextBox" runat="server" Text='<%# Bind("Date") %>' /><br />               
     <asp:Label ID="Label2" runat="server" Text="Inscrire l'heure de debut de la prise de poste:" Width=627></asp:Label>
                    <asp:TextBox ID="Heure_debutTextBox" runat="server" 
                        Text='<%# Bind("Heure_debut") %>' /><br />
                    <asp:Label ID="Label3" runat="server" Text="Inscrire la ligne:" Width=627></asp:Label>
                    <asp:TextBox ID="LigneTextbox" runat="server" Text='<%# Bind("Ligne") %>'></asp:TextBox>
                    <br />
                    <asp:Label ID="Label4" runat="server" Text="Inscrire les initiales du régleur:" Width=627></asp:Label>
                    <asp:TextBox ID="InitialesTextBox" runat="server" 
                        Text='<%# Bind("Initiales") %>'/> <br />
                    <center><h4>Tri &amp; Débarras</h4></center>
                    <asp:Label ID="Label5" runat="server" Text=" Les abords de la ligne sont degagés:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_abords_de_ligne")%>' >
                    </asp:DropDownList><br />
                    <asp:Label ID="Label6" runat="server" Text="Aucun objet inutile dans la zone de travail:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_objets_inutilse")%>' >
                    </asp:DropDownList><br />
                    <asp:Label ID="Label7" runat="server" Text="La zone de travail est exempte de déchets, de restes et de rebuts:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_zone_de_travail")%>' >
                    </asp:DropDownList> <br />
                    <asp:Label ID="Label8" runat="server" Text="Les objets fréquemment utilisés sont placés à proximité:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_objets_utilises")%>' >
                    </asp:DropDownList><br />
                    <asp:Label ID="Label9" runat="server" Text="Tout ce qui concerne la production précédente a été dégagé: outillages, outils, 
                    documents, fûts matière...:"></asp:Label>
                    <asp:DropDownList ID="DropDownList5" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_production_precedente")%>' >
                    </asp:DropDownList><br />
                    <center><h4>Rangement &amp; Identification</h4></center>
                    <asp:Label ID="Label10" runat="server" Text="Les stocks et encours ne débordent pas de leurs zones réservées:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList6" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_stocks")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label11" runat="server" Text=" Les bacs, palettes, produits sont bien identifiés:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList7" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_produit_identifie")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label12" runat="server" Text=" Ce qui est dans les contenants ou dans les zones correspond bien aux 
                    indications:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList16" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_indications")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label14" runat="server" Text="Les tableaux matières sont remplis et correspondent à la production en cours:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList8" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_tableaux_matieres")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label13" runat="server" Text="Les documents de travail sont au poste et à jour (planning, dossier,...):" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList9" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_document_de_travail")%>'>
                    </asp:DropDownList><br />
                    <center><h4>Nettoyage</h4></center>
                    <asp:Label ID="Label15" runat="server" Text="Les sols sont propres, régulièrement aspirés (ex:zones d'alimentation et sous 
                    les lignes):" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList10" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_sols")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label16" runat="server" Text="Le dessus des machines est dépoussiéré:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList11" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_dessus_machine")%>'>
                    </asp:DropDownList><br />
                    <center><h4>Maintien des régles et standards</h4></center>
                    <asp:Label ID="Label20" runat="server" Text="Le cages de queues de vis sont fermées:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList12" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_cage_queue")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label17" runat="server" Text="Les coffrets électriques sont verrouillés:" Width=627></asp:Label>
                    <asp:DropDownList ID="DropDownList13" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_coffrets_electrique")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label18" runat="server" Text="Les fiches de demande matières sont remplies et transmises à l'alimentation 
                    avant le changement:" Width=627></asp:Label>      
                    <asp:DropDownList ID="DropDownList14" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_fiche_de_demande_matiere")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label19" runat="server" Text="La seconde guipeuse est montée:" Width=627></asp:Label>    
                    <asp:DropDownList ID="DropDownList15" runat="server" DataSourceID="SqlDataSource3" DataTextField="Libelle" DataValueField="Note" SelectedValue='<% #Bind ("Note_seconde_guipeuse")%>'>
                    </asp:DropDownList><br />
                    <asp:Label ID="Label21" runat="server" Text="Commentaires:" Width=627></asp:Label>
                    <asp:TextBox ID="CommentairesTextBox" runat="server" 
                        Text='<%# Bind("Commentaires") %>' /> <br />
                    <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                        CommandName="Insert" Text="Insérer" />
                    &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                        CausesValidation="False" CommandName="Cancel" Text="Annuler" />
                </InsertItemTemplate>
                <ItemTemplate>
                    Identiifant_Pr:
                    <asp:Label ID="Identiifant_PrLabel" runat="server" 
                        Text='<%# Eval("Identiifant_Pr") %>' />
                    <br />
                    Date :
                    <asp:Label ID="DateLabel" runat="server" Text='<%# Bind("Date") %>'  />                <br />
                    Heure_debut:
                    <asp:Label ID="Heure_debutLabel" runat="server" 
                        Text='<%# Bind("Heure_debut") %>' />
                    <br />
                    Ligne:
                    <asp:Label ID="LigneLabel" runat="server" Text='<%# Bind("Ligne") %>' />
                    <br />
                    Initiales:
                    <asp:Label ID="InitialesLabel" runat="server" Text='<%# Bind("Initiales") %>' />
                    <br />
                    Note_abords_ligne
                    <asp:Label ID="Note_abords_de_ligneLabel" runat="server" 
                        Text='<%# Bind("Note_abords_de_ligne") %>' />
                    <br />
                    Note_objets_inutile:
                    <asp:Label ID="Note_objets_inutilseLabel" runat="server" 
                        Text='<%# Bind("Note_objets_inutilse") %>' />
                    <br />
                    Note_zone_de_travail:
                    <asp:Label ID="Note_zone_de_travailLabel" runat="server" 
                        Text='<%# Bind("Note_zone_de_travail") %>' />
                    <br />
                    Note_objets_utilises:
                    <asp:Label ID="Note_objets_utilisesLabel" runat="server" 
                        Text='<%# Bind("Note_objets_utilises") %>' />
                    <br />
                    Note_production_precedente:
                    <asp:Label ID="Note_production_precedenteLabel" runat="server" 
                        Text='<%# Bind("Note_production_precedente") %>' />
                    <br />
                    Note_stocks:
                    <asp:Label ID="Note_stocksLabel" runat="server" 
                        Text='<%# Bind("Note_stocks") %>' />
                    <br />
                    Note_produit_identifie:
                    <asp:Label ID="Note_produit_identifieLabel" runat="server" 
                        Text='<%# Bind("Note_produit_identifie") %>' />
                    <br />
                    Note_indications:
                    <asp:Label ID="Note_indicationsLabel" runat="server" 
                        Text='<%# Bind("Note_indications") %>' />
                    <br />
                    Note_tableaux_matieres:
                    <asp:Label ID="Note_tableaux_matieresLabel" runat="server" 
                        Text='<%# Bind("Note_tableaux_matieres") %>' />
                    <br />
                    Note_document_de_travail:
                    <asp:Label ID="Note_document_de_travailLabel" runat="server" 
                        Text='<%# Bind("Note_document_de_travail") %>' />
                    <br />
                    Note_sols:
                    <asp:Label ID="Note_solsLabel" runat="server" Text='<%# Bind("Note_sols") %>' />
                    <br />
                    Note_dessus_machine:
                    <asp:Label ID="Note_dessus_machineLabel" runat="server" 
                        Text='<%# Bind("Note_dessus_machine") %>' />
                    <br />
                    Note_cage_queue:
                    <asp:Label ID="Note_cage_queueLabel" runat="server" 
                        Text='<%# Bind("Note_cage_queue") %>' />
                    <br />
                    Note_coffrets_electrique:
                    <asp:Label ID="Note_coffrets_electriqueLabel" runat="server" 
                        Text='<%# Bind("Note_coffrets_electrique") %>' />
                    <br />
                    Note_fiche_de_demande_matiere:
                    <asp:Label ID="Note_fiche_de_demande_matiereLabel" runat="server" 
                        Text='<%# Bind("Note_fiche_de_demande_matiere") %>' />
                    <br />
                    Note_seconde_guipeuse:
                    <asp:Label ID="Note_seconde_guipeuseLabel" runat="server" 
                        Text='<%# Bind("Note_seconde_guipeuse") %>' />
                    <br />
                    Commentaires:
                    <asp:Label ID="CommentairesLabel" runat="server" 
                        Text='<%# Bind("Commentaires") %>' />
                    <br />
                    <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" 
                        CommandName="Edit" Text="Modifier" />
                    &nbsp;<asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" 
                        CommandName="Delete" Text="Supprimer" />
                    &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                        CommandName="New" Text="Nouveau" />
                </ItemTemplate>
                <PagerStyle Font-Size="Medium" Height="250px" HorizontalAlign="Left" 
                    VerticalAlign="Middle" Width="250px" />
                <EditRowStyle Height="100px" HorizontalAlign="Left" VerticalAlign="Middle" />
            </asp:FormView>
          
            <br />
            
        <p>
            <asp:Button ID="Button3" runat="server" Height="40px" Text="Production" Width="111px" />
            <input id="Button2" type="button" value="Fermer" onclick="window.close()" />
              </p>
    <p>
        &nbsp;</p>
            <p>
                &nbsp;</p>
            
        </form>
      
        </body>
    </html>
    je n'arrive pas a créer un masque de saisie pour la textbox Date (apres voir Datetime) et surtout je ne sais pas ou le mettre

    je vous ai mis en rouge les différentes lignes concernant les Dates

    Merci d'avance

  2. #2
    Membre chevronné
    Profil pro
    Inscrit en
    Juillet 2007
    Messages
    312
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2007
    Messages : 312
    Par défaut
    http://www.asp.net/AJAX/AjaxControlT...askedEdit.aspx

    c'est un truc comme ca que tu veux faire ?

  3. #3
    Membre éclairé
    Administrateur systèmes et réseaux
    Inscrit en
    Janvier 2007
    Messages
    496
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Janvier 2007
    Messages : 496
    Par défaut
    oui mais j'arrive pas utiliser ce "MAskedEdit" ou "MaskedTextbox"

  4. #4
    Membre éclairé
    Administrateur systèmes et réseaux
    Inscrit en
    Janvier 2007
    Messages
    496
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Janvier 2007
    Messages : 496
    Par défaut
    j'ai essayé de faire ceci
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    <ajaxToolKit:MaskedEditExtender
            TargetControlID="DateTextBox"
            Mask="99/99/9999" />
    mais il ne connait pas ajaxToolKit

  5. #5
    Membre chevronné
    Profil pro
    Inscrit en
    Juillet 2007
    Messages
    312
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2007
    Messages : 312
    Par défaut
    Oui tu dois installer la librarie, elle n'est pas fournie avec vs2005.
    Regarde sur le site que je t'ai donné c'est tout expliqué

  6. #6
    Membre éclairé
    Administrateur systèmes et réseaux
    Inscrit en
    Janvier 2007
    Messages
    496
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Janvier 2007
    Messages : 496
    Par défaut
    tu vas me trouver bete mais je ne trouve pas la librairie et je travaille pas sur VS2005 mais VS2008

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [AC-2007] masque de saisie pour date et heure (ensemble)
    Par lbar012001 dans le forum IHM
    Réponses: 0
    Dernier message: 16/06/2010, 15h57
  2. Masque de saisie pour date au format Y-M-D
    Par Claude Poulin dans le forum Général JavaScript
    Réponses: 2
    Dernier message: 02/03/2009, 13h52
  3. [A-02] Masque de saisie pour un champ texte
    Par jenniferIUP dans le forum IHM
    Réponses: 5
    Dernier message: 23/02/2009, 09h40
  4. script calendrier pour la saisie des champs dates
    Par s.mustapha86 dans le forum Struts 1
    Réponses: 12
    Dernier message: 16/07/2008, 15h18
  5. Masque de saisie sur champs auto
    Par sam29 dans le forum Access
    Réponses: 8
    Dernier message: 21/08/2006, 14h25

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo