How to insert data into database crm using asp (c#)
-
Wednesday, April 13, 2011 9:54 AM
Hi all...
i'm currently learn about crm, and i have some problem:
- how to insert data into database crm using web form(asp - c#)?
- how i connect to database in crm using webservices?
note: i'm using database is sql server 2008r2 and using visual studio 2010
All Replies
-
Wednesday, April 13, 2011 10:36 AM
Hi,
CRM provides and Webservice endpoint for CRUD Operations and no need to touch the database directly.
Please download CRM SDK and there lot of examples for routine tasks
Thanks,
Vijay
- Vijay- Proposed As Answer by vijay i Wednesday, April 13, 2011 10:36 AM
- Marked As Answer by Newbie CRM Thursday, April 14, 2011 6:16 AM
-
Wednesday, April 13, 2011 3:37 PM
Hi,
Microsoft CRM SDK can be used to develop integration between your website and CRM. It basically exposes webservices for all the CRUD operations.
Following accelerators can help you as starting point;
NarSrav http://www.dynamicsexchange.com -
Thursday, April 14, 2011 1:36 AM
Hi,
CRM provides and Webservice endpoint for CRUD Operations and no need to touch the database directly.
Please download CRM SDK and there lot of examples for routine tasks
Thanks,
Vijay
- Vijaythx... hmm...
is this how i make a connection?
CrmAuthenticationToken token;
if (this._isDevEnvironment || this._offline)
{
token = new CrmAuthenticationToken();
}
else
{
token = new CrmAuthenticationToken();
// Context parameter value is Page.Context.
token = CrmAuthenticationToken.ExtractCrmAuthenticationToken(this.Context, this._orgName);
}
token.OrganizationName = _orgName;
token.AuthenticationType = AuthenticationType.AD;
// Create the service.
CrmService crmService = new CrmService();
crmService.Credentials = System.Net.CredentialCache.DefaultCredentials;
crmService.CrmAuthenticationTokenValue = token;
crmService.Url = _crmServiceUrl; -
Thursday, April 14, 2011 1:37 AM
Hi,
Microsoft CRM SDK can be used to develop integration between your website and CRM. It basically exposes webservices for all the CRUD operations.
Following accelerators can help you as starting point;
NarSrav http://www.dynamicsexchange.commay i know wahat is crm accelerators?
-
Thursday, April 14, 2011 9:31 AM
Yes, if you want to have an IFD connection try this
http://social.microsoft.com/Forums/en/crmdevelopment/thread/ea916a0f-5de6-402f-987f-7a671000857b
NarSrav http://www.dynamicsexchange.com