command.CommandText = "Select nom From equipement where nom='"+ t.Text+"';
string s = t.Text; command.CommandText = "Select nom From equipement where nom=@s";
"Select nom From equipement where nom="" + T.Text+"""
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questioncommandd.CommandText = "Select * From equipement as e ,famille as f where e.famille=f.nom and f.nom='" + t.Text + "' ;";
command.CommandText = "Select nom From equipement where nom=@s"; command.Parameters.Add("@s", SqlType.Varchar).Value = t.Text; da.Fill(dt);