C# - Raj Kaimal

Browse by Tags

All Tags » C# (RSS)

VS 2010 Beta 2 Installation instructions

For those of you that have VS 2010 Beta 1 installed. http://go.microsoft.com/fwlink/?LinkID=166199 http://go.microsoft.com/fwlink/?LinkID=167718 (addendum) Other observations: I was prompted for my VS 2010 Beta 1 media when uninstalling it so have your...
Posted by rajbk | with no comments
Filed under: , ,

XMLSerializer and invalid XML

A user had pasted some text from powerpoint into a textarea in one of our web apps which was eventually serialized into XML. Upon trying to de-serialize the XML, the web server threw the exception below: System.InvalidOperationException: There is an error...
Posted by rajbk | 5 comment(s)
Filed under: , , ,

A four stroke engine in Silverlight

I decided to try out Expression Blend 2.5 beta by creating a four stroke engine animation. A screen capture is shown below: You can see a working demo here (Silverlight 2 plugin required) Here are a few observations while working on this project. Writing...
Posted by rajbk | 2 comment(s)
Filed under: , , ,

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 | 7 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 | 9 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 | 12 comment(s)
Filed under: , ,
More Posts