-
Recent Posts
Archives
Categories
- C# Programming
- HTML CSS JavaScript
- Introduction to Sharepoint 2010
- Sharepoint 2010 Branding
- Sharepoint 2010 CAML
- Sharepoint 2010 Central Administration
- Sharepoint 2010 Client Object Model
- Sharepoint 2010 Coding Standards
- Sharepoint 2010 Designer
- Sharepoint 2010 Document Center
- SharePoint 2010 FAQ
- Sharepoint 2010 Fast Search
- Sharepoint 2010 Features
- Sharepoint 2010 Foundation
- Sharepoint 2010 Infopath
- Sharepoint 2010 JQuery
- Sharepoint 2010 LINQ
- Sharepoint 2010 Lists , Libraries & Event Receivers
- Sharepoint 2010 Master Page
- Sharepoint 2010 Meeting Workspace
- Sharepoint 2010 Mobile
- Sharepoint 2010 OutOfTheBox
- Sharepoint 2010 Pages & Navigation
- Sharepoint 2010 Powershell
- Sharepoint 2010 Ribbon
- Sharepoint 2010 Search
- Sharepoint 2010 Security
- Sharepoint 2010 Server Object Model
- Sharepoint 2010 Silverlight
- Sharepoint 2010 Site Collection
- Sharepoint 2010 Site Definition
- Sharepoint 2010 User Profiles
- Sharepoint 2010 Web Parts
- Sharepoint 2010 Webservice
- Sharepoint 2010 Workflow
- Sharepoint 2010 Workspace
- Sharepoint 2010 WPF
- SharePoint 2013 Architect
- SSRS Reports
- Visual Studio 2010
Meta
Category Archives: Sharepoint 2010 LINQ
SPMetal – SharePoint 2010 LINQ Sample in Visual Webpart
SPMetal – SharePoint 2010 LINQ Sample in Visual Webpart “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\SPMetal” /web:http://admin2-pc:10 /namespace:SPwithLinq.VisualWebPart1 /code:SPMetal.cs /language:csharp /parameters:SPMetal.xml Add Reference : Microsoft.SharePoint.Linq Namespace: using Microsoft.SharePoint; using Microsoft.SharePoint.Linq; using System.Linq; SPMetalDataContext oDat = new SPMetalDataContext(SPContext.Current.Site.Url); var Employees = … Continue reading
Posted in Sharepoint 2010 LINQ
Leave a comment