Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# ADO Executing Stored Procedure Problem
Message
 
To
19/01/2009 18:12:43
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01374697
Message ID:
01376018
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform