You need to sign in to do that
Don't have an account?
bssantosh
AJAX Query - C#
I am new to this dev environment...
I need to call an sForce DB Update API function on the button click of my asp.net server control from code behind.
How does AJAX come into this or how can i use the AJAX toolkit to achieve this?
Also, where can i find a list of all api calls pertaining to my requirement like selecting campaigns, etc or where are the db fields stored?
Hi there are two approaches:
1. Use AJAX on the client side - i.e. download javascript code to the client browser and execute there.
2. Use the .Net libraries to call the API from your server.
I suspect that you want to implement option 2. In which case have a look at the samples on the .Net section. You will need to add a web reference to the enterprise (or partner, which is more complex) WSDL. In visual studio this will then create the class stubs you need. Follow the examples available from www.salesforce.com/developer
Cheers
Gareth.
PS. Check out this board as well http://forums.sforce.com/sforce/board?board.id=NET_development
Message Edited by Gareth Davies on 07-17-2006 02:14 AM