Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Salesforce ADO.NET Data Provider
Salesforce ADO.NET Data Provider

Salesforce ADO.NET Data Provider

CDATA SOFTWARE

|
2,509 clicks
| (0) | Free Trial
Rapidly create and deploy powerful .NET applications that integrate with Salesforce.com data including Leads, Contacts, Opportunties, Accounts, and more!
Get Started

The Salesforce Data Provider for ADO.NET gives developers the power to easily connect .NET applications to Salesforce.com data including Leads, Contacts, Opportunties, Accounts, and more! The Salesforce Data Provider makes these Salesforce services look like SQL tables in your applications. With the Salesforce Data Provider for ADO.NET developers can simply DataBind to data, just like using SQL Server..

1-2-3 Easy Steps to Salesforce.com Integration

Connecting .NET applications to Salesforce.com has never been easier. The Salesforce Data Provider offers complete read-write access to Salesforce.com services, through an easy to use Data Provider interface that every .NET developer is familiar with.

  1. Install Salesforce Data Provider for ADO.NET
  2. Connect & Select Data
  3. Databind!

The Salesforce Data Provider effectively makes Salesforce.com look exactly like a database to your applications. If you want to integrate your applications with Salesforce.com and you have ever written Transact-SQL, then Salesforce Data Provider is definitely for you!

Using the Salesforce Data Provider

The Salesforce Data Provider wraps the complexity of accessing Salesforce services in an easy-to-integrate, fully-managed ADO.NET Data Provider. Applications then access Salesforce through the Salesforce Data Provider with simple Transact-SQL.

The Salesforce Data Provider for ADO.NET hides the complexity of accessing data and provides additional powerful security features, smart caching, batching, socket management, and more.

Working with DataAdapters, DataSets, DataTables, etc.

The Salesforce Data Provider has the same ADO.NET architecture as the native .NET data providers for SQL Server and OLEDB including: SalesforceConnection, SalesforceCommand, SalesforceDataAdapter, SalesforceDataReader, SalesforceDataSource, SalesforceParameter, and SalesforceTransaction. Because of this you can now access Salesforce data in an easy, familiar way.

For example:

using (SalesforceConnection conn = new SalesforceConnection("...")) {
  string select = "SELECT * FROM SalesforceOpportunities";
  SalesforceCommand cmd = new SalesforceCommand(select, conn);
  SalesforceDataAdapter adapter = new SalesforceDataAdapter(cmd);
  using (adapter) {
    DataTable table = new DataTable();
    adapter.Fill(table);       
    ...
  }
}

More Than Read-Only: Full Update/CRUD Support

Salesforce Data Provider goes beyond read-only functionality to deliver full support for Create, Read Update, and Delete operations (CRUD). Your end-users can interact with the data presented by the Salesforce Data Provider as easily as interacting with a database table.

view source
using (SalesforceConnection connection = new SalesforceConnection(connectionString)) {
SalesforceDataAdapter dataAdapter = new SalesforceDataAdapter(
"SELECT Id, Where FROM Opportunities", connection);
 
dataAdapter.UpdateCommand = new SalesforceCommand(
"UPDATE Opportunities SET Where = @Where " +
"WHERE Id = @ID", connection);
 
dataAdapter.UpdateCommand.Parameters.AddWithValue("@Where", "Where");
dataAdapter.UpdateCommand.Parameters.AddWithValue("@Id", "80000173-1387137645");
 
DataTable opportunitiesTable = new DataTable();
dataAdapter.Fill(opportunitiesTable);
 
DataRow firstrow = opportunitiesTable.Rows[0];
firstrow["Where"] = "New Location";
 
dataAdapter.Update(opportunitiesTable);
}

The Salesforce Data Provider for ADO.NET offers the most natural way to access Salesforce data from any .NET application. Simply use Salesforce Data Provider objects to connect and access data just as you would access any traditional database. You will be able to use the Salesforce Data Provider through: Visual Studio Server Explorer, in code through familiar classes, and in data controls like DataGridView, GridView, DataSet, etc.

Contact us: 

Call: (800) 235-7250

Contact Us By Email

Online Documentation

 

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft