Besoin d'explication
anel
-
anel -
anel -
Bonjour,
svp si vous pouvez m'expliqué cette requette:
cmd = New Data.SqlClient.SqlCommand("insert into Agrements values('" & n_agr.Text & "','" & Me.ddl_categorie.text& "','" & C_oui_non.SelectedItem & "','" & dts.Tables("ville_attachea").Rows(Combo_ville_attache.SelectedIndex).Item(0) & "','" & dts.Tables("Prefecturea").Rows(Combo_pref.SelectedIndex)(0) & "','" & n_dicision_annul.Text & "','" & date_dicision_annul.Text & "','" & n_annulation.Text & "','" & Date_annulation.Text & "','" & motif_annulation.Text & "','" & combo_Valider.SelectedItem & "')", cnx)
merci
svp si vous pouvez m'expliqué cette requette:
cmd = New Data.SqlClient.SqlCommand("insert into Agrements values('" & n_agr.Text & "','" & Me.ddl_categorie.text& "','" & C_oui_non.SelectedItem & "','" & dts.Tables("ville_attachea").Rows(Combo_ville_attache.SelectedIndex).Item(0) & "','" & dts.Tables("Prefecturea").Rows(Combo_pref.SelectedIndex)(0) & "','" & n_dicision_annul.Text & "','" & date_dicision_annul.Text & "','" & n_annulation.Text & "','" & Date_annulation.Text & "','" & motif_annulation.Text & "','" & combo_Valider.SelectedItem & "')", cnx)
merci
Configuration: Windows XP Internet Explorer 6.0
3 réponses
-
à priori ça ajoute des données dans une table SQL
ces données viennent d'une saisie.
mais par contre il serait intéressant de connaitre le langue utilisé -
Oui ça insere dans une table des valeurs recupérées sur un formulaire.
C'est du VB.net
-
ce ke j ai pa b1 copmris cé cette partie:
'" & dts.Tables("Prefecturea").Rows(Combo_pref.SelectedIndex)(0) & "'
et je souhaite remplacé le combobox avec une dropdownlist
merci