function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vino1.395228003587918E12vino1.395228003587918E12 

Update 500 to 1000 records in salesforce from .Net

Hi,
I have 1000 records in SQL Server. I want to update this all records in Salesforce from .Net. I used EnterPrise WSDL file for Salesforce Connection.
I used following update code:


Account  updateacc=new Account;
updateacc.Last_Year__c = Double.Parse(row["LASTYEAR"].ToString());
  updateacc.Last_Year__cSpecified = true;
SaveResult[] saveResults = sfdcbind.update(new sObject[] { updateacc });

But i got Read Timeout Error.
Any one help me to solve this?
Ashish_SFDCAshish_SFDC
Hi Vino, 


Webservice is used most widely for single record insert or update, I would recommend you to use data loader for the same. 

https://help.salesforce.com/apex/HTViewHelpDoc?id=inserting_updating_or_deleting_data.htm&language=en


Regards,
Ashish