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
Kenji776Kenji776 

Very Simple Query In ASP.NET C#

Hey everyone,
I have been reading for hours, and I still don't feel like I understand any better how salesforce, and asp.net, and the wsdl and everything play together. I want to write a very simple page, in this case a page that receives a url variable name, takes that and queries salesforce to see if there is a contact in the contacts table by the same name. How would I do this? I was able to write a stand alone exectuable in C# that did this easily, but turning it into a website is just beyond my understand. Please help. Thank you.
werewolfwerewolf
Well I imagine the C# that you made in the standalone program would apply almost exactly -- you just have to move some into the code portion of an ASP page and then hit that page.

Have you looked at the Force.com ASP samples?

http://adnsandbox.com/appexchange/AspSampeSetup.zip