Radiobuttonlist insert sql server 2000

cs_alicia26 Messages postés 65 Date d'inscription lundi 21 mai 2007 Statut Membre Dernière intervention 7 juillet 2009 - 3 déc. 2008 à 12:15
cs_alicia26 Messages postés 65 Date d'inscription lundi 21 mai 2007 Statut Membre Dernière intervention 7 juillet 2009 - 4 déc. 2008 à 16:06
bonjour à tous!
je suis chargée de concevoir une page web pour une enquête en ligne.
les internautes devront répondre en cochant des boutons radios sur plusieurs pages.je dois utiliser asp.net ou vb.net sur une base sql server 2000.
j'avoue que je suis un peu perdu sur comment conserver le choix des internautes de page en page et enfin faire un insert des choix.
un exemple de code ou des explications sur comment procéder m'aiderait beaucoup à commencer!
merci pour tout.

1 réponse

cs_alicia26 Messages postés 65 Date d'inscription lundi 21 mai 2007 Statut Membre Dernière intervention 7 juillet 2009
4 déc. 2008 à 16:06
J'ai pu trouver comment concevoir mes  radiobuttonlist, seulement j'ignore comment écrire le script pour l'insertion des valeurs sélectionnées dans une table ?
Quelqu'un peut t-il m'aider?


<



form



id
="Form2"



runat
="Server">






<
h3
>
Enquˆte de Satisfaction

</
h3
>






<
asp
:
Panel



id
="Page1ViewPanel"












HorizontalAlign
="Left"






Font-size
="12"












BorderColor
="#404040"






BorderStyle
="Double"






runat
="Server"



Width
="986px"



>






<
asp
:
MultiView



id
="DevPollMultiView"






ActiveViewIndex
="0"






runat
="Server">






<
asp
:
View



id
="Page1"






runat
="Server">






<
asp
:
Label



id
="Page1Label"






Font-bold
="True"






Text
="A-Satisfaction logiciels et SystŠmes"






runat
="Server"






AssociatedControlID
="Page1"></
asp
:
Label
>






<
br



/>






<
br
/>






<
br
/>






&nbsp;
<
br
/>






<
table



style
="width: 962px">






<
tr
>






<
td



style
="width: 4591px; height: 1px">






<
asp
:
Label



ID
="Label3"



runat
="server"



Text
="Messagerie"></
asp
:
Label
><
br



/>






</
td
>






<
td



style
="height: 1px; width: 1761px;">






<
asp
:
RadioButtonList



ID
="RadioButtonList1"



runat
="server"



Height
="20px"



RepeatDirection
="Horizontal"



Width
="583px">






<
asp
:
ListItem



Value
="Satisfait">
Satisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Plutot Satisfait">
Plut

&#244;
t Satisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Plutot Insatisfait">
Plut

&#244;
t Insatisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Insatisfait">
Insatisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Sans opinion">
Sans opinion

</
asp
:
ListItem
>






</
asp
:
RadioButtonList
></
td
>






</
tr
>






<
tr
>






<
td



style
="width: 4591px">






<
asp
:
Label



ID
="Label1"



runat
="server"



Text
="Office (Outlook, Word, Excel, etc)"



Width
="222px"></
asp
:
Label
></
td
>






<
td



style
="width: 1761px"><
asp
:
RadioButtonList



ID
="RadioButtonList2"



runat
="server"



Height
="20px"



RepeatDirection
="Horizontal"



Width
="583px">






<
asp
:
ListItem



Value
="Satisfait">
Satisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Plutot Satisfait">
Plut

&#244;
t Satisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Plutot Insatisfait">
Plut

&#244;
t Insatisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Insatisfait">
Insatisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Sans opinion">
Sans opinion

</
asp
:
ListItem
>






</
asp
:
RadioButtonList
></
td
>






</
tr
>






<
tr
>






<
td



style
="width: 4591px">






<
asp
:
Label



ID
="Label4"



runat
="server"



Text
="Windows"></
asp
:
Label
></
td
>






<
td



style
="width: 1761px"><
asp
:
RadioButtonList



ID
="RadioButtonList3"



runat
="server"



Height
="20px"



RepeatDirection
="Horizontal"



Width
="583px">






<
asp
:
ListItem



Value
="Satisfait">
Satisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Plutot Satisfait">
Plut

&#244;
t Satisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Plutot Insatisfait">
Plut

&#244;
t Insatisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Insatisfait">
Insatisfait

</
asp
:
ListItem
>






<
asp
:
ListItem



Value
="Sans opinion">
Sans opinion

</
asp
:
ListItem
>






</
asp
:
RadioButtonList
></
td
>






</
tr
>






</
table
>






<
br



/>

Merci de mentionner ci-dessous vos ‚ventuels commentaires et remarques:




<
br
/>






<
asp
:
TextBox



ID
="TextBox1"



runat
="server"



Height
="69px"



TextMode
="MultiLine"



Width
="953px"></
asp
:
TextBox
><
br



/>






<
br
/>






<
asp
:
Button



id
="Page1Next"






Text



=



"Suivant>>"






CommandName
="NextView"






Height
="25"






Width
="88px"






runat
=



"Server"



Font-Names
="Verdana">






</
asp
:
Button
>






</
asp
:
View
>
0
Rejoignez-nous