Objective This article will explain how to use LINQ to XML to read data from a XML file and bind that to SILVERLIGHT 3.0 Data Grid. XML file will be read in a WCF service and WCF service will return a List to be bind in a Grid. Step 1 Create a SILVERLIGHT application. SelectContinueContinue reading “LINQ to XML in SILVERLIGHT 3.0”
Monthly Archives: February 2010
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 ListContinueContinue reading “Seven quick points in Understanding SharePoint 2007 list definition”
LINQ to XML Part # 5: Catching Parsing Exceptions
Objective This is a very high level article which will explain; how to handle exception in parsing XML using LINQ to XML. Problem Let us say, we are parsing a below string using XElement.Parse String strParse = “<Address><Name>Dhananjay Kumar </Name> “; This string is not valid formed. But XElement.Parse won’t be able to catch theContinueContinue reading “LINQ to XML Part # 5: Catching Parsing Exceptions”
LINQ to XML Part #4: Different way of Parsing string to create XML tree
Objective In this article, I will show different way of parsing string to create XML tree using LINQ to XML. What is Parsing of XML document? Parsing of XML document means reading XML document, identifies the function of each of the document and then makes this information available in memory for rest of the program.ContinueContinue reading “LINQ to XML Part #4: Different way of Parsing string to create XML tree”
LINQ to XML Part # 3: Functional Construction of XML Tree
Objective This article will give an explanation on; how to create a XML tree using Functional Construction method of LINQ to XML. What is Functional Construction? Functional Construction is ability to create a XML tree in a single statement. LINQ to XML is being used to create XML tree in a single statement. The featuresContinueContinue reading “LINQ to XML Part # 3: Functional Construction of XML Tree”
LINQ to XML Part #2(XElement Class)
Objective In this article, I will give explanation on XElement class. This class is used to construct XML Elements.What is Elements in XML? XML Element is fundamental XML constructs. An Element has a name and optional attributes. An XML Elements can have nested Elements called Nodes also. XElement class XElement Class is defined as belowContinueContinue reading “LINQ to XML Part #2(XElement Class)”
LINQ to XML Part #1(XAttribute Class)
Objective In this article, I will give explanation on XAttribute class. This class is used to construct Attributes in XML Elements. What is Attribute in XML? XML Attribute is a Name/Value pair associated with XML elements. XAttribute class represents XML Attributes. XAttribute class XAttribute Class is defined as below in namespace System.Xml.Linq. And it inheritsContinueContinue reading “LINQ to XML Part #1(XAttribute Class)”
Forms on SharePoint lists
Objective This article will give a very high level description on various forms on a SharePoint list. When we create a new custom list in SharePoint, SharePoint creates three forms (*.aspx) for the custom list. In fact for all list these forms are provided by SharePoint. Let us say, there is a listContinueContinue reading “Forms on SharePoint lists”
Working with Dynamic Object in c# 4.0 Part #1
Objective This article will give a basic introduction of Dynamic Object in c# 4.0 DynamicObject class This provides a base class for specifying dynamic behavior at run time. This class must be inherited to use. This class cannot be instantiated. This class is inside namespace System.Dynamic This class implements IDynamicMetaObjectProvider This class enables to defineContinueContinue reading “Working with Dynamic Object in c# 4.0 Part #1”
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 myContinueContinue reading “Creating message body by parsing document from Document Library and sending mail in SharePoint 2007”