Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# ADO Executing Stored Procedure Problem
Message
From
19/01/2009 18:12:43
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01374697
Message ID:
01375298
Views:
8
>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
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform