Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# ADO Executing Stored Procedure Problem
Message
 
À
19/01/2009 18:12:43
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01374697
Message ID:
01376018
Vues:
22
How do you code this for an update statement? I can't seem to figure it out.



>>Ok, I see.
>>
>>But could you not just do:
>>
>>
>>sc.CommandText = "Insert into bob (xyz, abc) VALUES ( '" + sValue1 + "','" + sValue2 + "' )";
>>sc.ExecuteNonQuery();
>>
>>
>>once for each new row in the DS?

>
>That won't work the way you want it to for values such as DateTime.
>
>~~Bonnie
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform