9/13/2025 11:27:16 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss ADO specific questions for use with SalesLogix. View the code of conduct for posting guidelines.
|
|
|
|
C# .NET slx_DBIDs
Posted: 07 Aug 07 8:11 PM
|
You have to use the SLX ole db provider to run this stored procedure, right?
So I'm using OleDBCommand and am getting an error on the .ExecuteNonQuery.....
I don't know how to pass the parameters to the proc, and redirect the output parameter....in the Command Line.....
Has anybody done this?
Getting really really close to running this 150,000 record import......storing to 12 tables...... all in C# .Net. |
|
|
|
Re: C# .NET slx_DBIDs
Posted: 07 Aug 07 11:24 PM
|
Yes, it has to be called via a SLX connection. If you're still having a problem, or gettting an error post the code and I'll take a look.
BTW, the proc is value returning, so you don't want to use ExecuteNonQuery. If you're returning a single ID value then you could use ExecuteScalar, otherwise you'd use an OleDbDataReader to get the results. |
|
|
|
Re: C# .NET slx_DBIDs
Posted: 08 Aug 07 8:32 AM
|
It's the connection, and the string specifically.....I'll use your \ escape keys and that should do the trick.
I'm using Jason Price's book on C# Database Programming.....so far so good. |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|