Walkthrough on using LINQ to SharePoint from within a SharePoint 2010 custom visual web part

Objective In this article we will see, 1. How to create custom WebPart. 2. How to use SPGridView on visual WebPart. 3. How to use LINQ to SharePoint 4. How to deploy the WebPart in SharePoint site. Step 1 Open Visual studio 2010 and create new project. From SharePoint 2010 project template select Visual Web … Continue reading Walkthrough on using LINQ to SharePoint from within a SharePoint 2010 custom visual web part

The Web Application could not be found .verify that you have typed the URL correctly error: SharePoint 2010 object model

The below exception is very frustrating when we start working with SharePoint object model. Let us investigate how to solve below exception Above Exception can encounter in two scenarios 1. Trying to use SharePoint 2010 object model in managed application like console or windows application. 2. Trying to use SharePoint 2010 object model in WCF … Continue reading The Web Application could not be found .verify that you have typed the URL correctly error: SharePoint 2010 object model

LINQ to SharePoint: CRUD operation on SharePoint 2010 list using SPLinq

Objective In this article, we will see how to work with LINQ to SharePoint. I have tried to address all the common errors we encounter when first time we start using LINQ against SharePoint. We will see , 1. How to insert an item in SharePoint list using SPLinq 2. How to update an item … Continue reading LINQ to SharePoint: CRUD operation on SharePoint 2010 list using SPLinq

Seven quick points in Understanding SharePoint 2007 list definition

 Objective This article will give basic 7 theatrical points on SharePoint List definition. When we create a new site in SharePoint, it gets created as instance of SharePoint Site Definition. Each instance of Site Definition is having List Definitions. So when we create a list in SharePoint site, it gets created as instance of List … Continue reading Seven quick points in Understanding SharePoint 2007 list definition

Creating message body by parsing document from Document Library and sending mail in SharePoint 2007

Objective This article will give an idea of, How to parse a document from Document Library and replace with dynamic values at run time. How to send mail in SharePoint using SPUtility class. Introduction of a real time problem to use above said features of SharePoint. Background There was a requirement in one of my … Continue reading Creating message body by parsing document from Document Library and sending mail in SharePoint 2007

Cascading drop down column in a SharePoint 2007 List

Objective This article will show how to use codeplex project to achieve Cascading drop down columns in SharePoint list. This article will show how to achieve parent child relationship in column of SharePoint list. Step 1Download the project from codeplex. Choose WSP file to download. To download the project Click here Step 2 After downloading … Continue reading Cascading drop down column in a SharePoint 2007 List

HyperLinkField in SPGridView using Moss 2007 Object model

Objective This article is going to explain How to work with SPGridView How to add HypeLinkField on a SPGridView. How to Put SPGridView on a web part. How to deploy the web part on a sharepoint site. Assumption I have a SharePoint list called TestingHyperLink. Columns of SharePoint list are as below. Name column is … Continue reading HyperLinkField in SPGridView using Moss 2007 Object model