473,505 Members | 16,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# connection statement to CRM 4.0

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.
--
Thank you,
The Diep
Jan 15 '08 #1
4 3161
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]
- mv*@spam.guard.caspershouse.com

"The Diep" <th*****@community.nospamwrote in message
news:13**********************************@microsof t.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.
--
Thank you,
The Diep

Jan 15 '08 #2
Yes, Microsoft Dynamics CRM 4.0. I need to connect to the web service of CRM
4.0
--
Thank you,
The Diep
"Nicholas Paldino [.NET/C# MVP]" wrote:
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]
- mv*@spam.guard.caspershouse.com

"The Diep" <th*****@community.nospamwrote in message
news:13**********************************@microsof t.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.
--
Thank you,
The Diep


Jan 15 '08 #3
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]
- mv*@spam.guard.caspershouse.com

"The Diep" <th*****@community.nospamwrote in message
news:85**********************************@microsof t.com...
Yes, Microsoft Dynamics CRM 4.0. I need to connect to the web service of
CRM
4.0
--
Thank you,
The Diep
"Nicholas Paldino [.NET/C# MVP]" wrote:
>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]
- mv*@spam.guard.caspershouse.com

"The Diep" <th*****@community.nospamwrote in message
news:13**********************************@microso ft.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.
--
Thank you,
The Diep



Jan 15 '08 #4

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/d...1-A2662AAE9DFB
Mattias

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4728
by: JWM | last post by:
I am trying to implement Oracle connection pooling for the following code, which was written by someone else. Here is my main question -- this java file creates code that is executed every hour,...
0
2996
by: David.Tymon | last post by:
>Description: MySQL v4.1.0-alpha only allows a client to prepare a maximum of 254 statements. On the 255th mysql_prepare() call, a failure is returned with no information returned by...
11
2399
by: pradeep_TP | last post by:
Hi all, I have a few questions that I have been wanting to ask for long. These are all related to ADO.net and specifically to conenction to database. 1) If I have opened a connection to a...
7
2253
by: greg | last post by:
Hi We have w2k, iis5, .NET/c# I periodically receive this message and the system freezes ++++++++++++++++++++++++++++++++++++++++++++++++++ Timeout expired. The timeout period elapsed...
8
2141
by: Pierson C | last post by:
I am developing on a website that is utilizing SQL Server 2000. Shortly after deploying the site, we began having timeout issues due to the max connections. 1st instinct was to diligently tidy...
20
7177
by: fniles | last post by:
I am using VB.NET 2003, SQL 2000, and SqlDataReader. As I read data from tblA, I want to populate tblB. I use SQLDataReader for both tables. I do not use thread. When I ExecuteReader on tblB, I...
1
2450
by: Subangini | last post by:
"Hi, I am trying to migration Oracle database to mysql database using visual coding. I am having problem in the Do until loop, can u tell me what is the mistake. Oracle Database - Oracle...
2
1504
by: bylum | last post by:
help find error that connection database and jsp.. <% String connectionURL = "jdbc:mysql://localhost:3306/webaudio?user=root"; Connection connection = null; Statement statement = null;...
1
3693
by: hal9000cr | last post by:
We are running into some problems with the execution of DB2 stored procedures when their isolation level is set to: set transaction isolation level READ UNCOMMITTED, READ WRITE; This is a web...
3
5478
by: tulika dutta | last post by:
after 8 hrs my MySQL connection with JDBC gets time out. It gives the error java.sql.SQLException: No operations allowed after connection closed.Connection was implicitly closed due to underlying...
0
7370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.