This following code shows how to install the sample data that comes with Microsoft Dynamics CRM 2011 with InstallSampleDataRequest Using .Net
Code:
InstallSampleDataRequest req = new InstallSampleDataRequest();
InstallSampleDataResponse resp = (InstallSampleDataResponse)_serviceproxy.Execute(req);