C# connection statement to CRM 4.0

  • Thread starter Thread starter The Diep
  • Start date Start date
T

The Diep

I hope someone can help me. I'm try to find a C# statement that will let me
connect to the new CRM 4.0. I have a UI that was programed in C# that was
connected to SQL Server but I would now like to connect the C# UI with CRM
4.0.
 
The Diep,

Are you talking about Microsoft Dynamics CRM 4.0 or something else? If
it is an MS product, you can be assured that it will be running on SQL
server, so the connection string should be the same, or very similar.

If it is another RDBMS, then while you could change the connection
string, but depending on the product (short of it taking user-generated
queries) will more than likely not work unless it specifies that it does.

What is this product, and what does it do?
 
Yes, Microsoft Dynamics CRM 4.0. I need to connect to the web service of CRM
4.0
--
Thank you,
The Diep


Nicholas Paldino said:
The Diep,

Are you talking about Microsoft Dynamics CRM 4.0 or something else? If
it is an MS product, you can be assured that it will be running on SQL
server, so the connection string should be the same, or very similar.

If it is another RDBMS, then while you could change the connection
string, but depending on the product (short of it taking user-generated
queries) will more than likely not work unless it specifies that it does.

What is this product, and what does it do?
 
If you are going to connect to a web service, then you can't use the
classes in the System.Data namespace. You will have to create a web
reference (or a service reference if you are using WCF) and then proceed
from there.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

The Diep said:
Yes, Microsoft Dynamics CRM 4.0. I need to connect to the web service of
CRM
4.0
--
Thank you,
The Diep


Nicholas Paldino said:
The Diep,

Are you talking about Microsoft Dynamics CRM 4.0 or something else?
If
it is an MS product, you can be assured that it will be running on SQL
server, so the connection string should be the same, or very similar.

If it is another RDBMS, then while you could change the connection
string, but depending on the product (short of it taking user-generated
queries) will more than likely not work unless it specifies that it does.

What is this product, and what does it do?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

The Diep said:
I hope someone can help me. I'm try to find a C# statement that will
let
me
connect to the new CRM 4.0. I have a UI that was programed in C# that
was
connected to SQL Server but I would now like to connect the C# UI with
CRM
4.0.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top