Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, May 2, 2024 
 
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!
 Architect Forums - ADO General
Forum to discuss ADO specific questions for use with SalesLogix. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to ADO General | New ThreadView:  Search:  
 Author  Thread: C# .NET slx_DBIDs
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
C# .NET slx_DBIDsYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: C# .NET slx_DBIDsYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: C# .NET slx_DBIDsYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/2/2024 12:52:48 PM