ASP.NET,C# - Raj Kaimal

Browse by Tags

All Tags » ASP.NET » C# (RSS)

LinqDataSource exceptions

Prerequisite: LinqDataSource & SqlDataSource Master/Details When working with the LinqDataSource, you may get the exceptions listed below. 1. Operator '==' incompatible with operand types 'Int32' and 'Object' The exception occurs because anytime a...
Posted by rajbk | 3 comment(s)
Filed under: , ,

Building an RSS feed using LINQ to XML and LINQ to SQL

Version : VS 2008 Beta 2 In this post, I am going to show you how to build a RSS feed of the employees in the NorthWind database using LINQ. Before you proceed, you may want to read Scott's introduction of LINQ to XML over here if you haven't done so...
Posted by rajbk | 1 comment(s)
Filed under: , , ,

LinqDataSouce - DataItem in code behind

Version : Visual Studio 2008 Beta 2 The following examples shows how to use the GridViewRow.DataItem property to retrieve a property of the underlying object to which the GridViewRow is bound when using the LinqDataSource control. I have a GridView whose...
Posted by rajbk | 7 comment(s)
Filed under: , ,

Dynamic String based Queries in LINQ - Dynamic Expression API

Version: Visual Studio 2008 Beta 2 The Dynamic Expression API extends the core LINQ API with the ability to dynamically create string based queries that are constructed at run-time. The API provides Dynamic parsing of strings to produce expression trees...
Posted by rajbk | 8 comment(s)
Filed under: , ,
More Posts