This tip demonstrates how to create, retrieve , edit and update an costume Entity in Online MSD CRM 2011 Using WCF and LINQ Query. To know how to connect to an Online MSD CRM 2011 using WCF Services check out Abhisek’s tip on it.

step 1: Connect to Online MSD CRM 2011 using WCF Services.

step 2: Create a costumize Entity in the crm 2011 online version (e.g new_abc) and add Four fields
Name(Single line of text),Date(date and time),description(Multiline of text),Status(two options).

step 3:Now Add two panel control over the form existed.In first Panel add a DataGridView Control to the show the data & two button controls to show the data in DataGridView and another to add new data.And in 2nd Panel Add Text box controls for Name and Description and for Date add DateTimePicker control and for Status add Combo box control. At last, add two button control to submit & Update.

step 4: Add a using statement for Microsoft.Xrm.Sdk.Query.This namespace contains the classes needed to build the query
expressions.You should also add a using statement for Microsoft.Xrm.Sdk.Messages.This name space contains the classes needed to issue the retrieve request.