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?

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
>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 - 15 Jan 2008 17:19 GMT
Yes, Microsoft Dynamics CRM 4.0. I need to connect to the web service of CRM
4.0

Signature
Thank you,
The Diep
> The Diep,
>
[quoted text clipped - 13 lines]
> > connected to SQL Server but I would now like to connect the C# UI with CRM
> > 4.0.
Nicholas Paldino [.NET/C# MVP] - 15 Jan 2008 17:29 GMT
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.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> Yes, Microsoft Dynamics CRM 4.0. I need to connect to the web service of
> CRM
[quoted text clipped - 21 lines]
>> > CRM
>> > 4.0.
Mattias Sjögren - 15 Jan 2008 23:00 GMT
There's a great group for questions like this at
microsoft.public.crm.developer
>Yes, Microsoft Dynamics CRM 4.0. I need to connect to the web service of CRM
>4.0
Have you looked at the SDK? It covers all you need to know about
consuming the CRM services.
http://www.microsoft.com/downloads/details.aspx?FamilyId=82E632A7-FAF9-41E0-8EC1
-A2662AAE9DFB
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.