I am trying to update a field(TestAccount__c) from the object Account in Salesforce, I have the entreprise wsdl already linked in .Net (C#), but due to my lack of experience I found this quite tricky, can anybody help me please: here is what I have so far:
sforce is the name of the sf wsdl
namespace UpdateSF
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
sforce.Account updatefield= new sforce.Account();
if (updateField != null)
{
updateField.TestAccount__c = "Done";
}
else
{
}
//this is not right
sforce.SaveResult[] result = updateField.update(new sforce.sObject[] { updateField });
}
}
}
}