ODATA is everywhere and so is Silverlight. In this post, I will show, How ODATA can be consumed in Silverlight? “ OData URL I will be using NorthWind OData URL. You can access that URL from below link. http://services.odata.org/Northwind/Northwind.svc/ We are going to fetch Customers table from NorthWind DataBase. Create Project and Add Service ReferenceContinueContinue reading “Consuming ODATA in Silverlight 4.0”
Author Archives: Dhananjay Kumar
ASP.Net GridView with LinqDataSource
In this post I will walkthrough on using ASP.Net Gridview with LinqDatasource. You can bind a GridView with LinqDataSource and would able to Edit Delete View data without writing a single line of code. To see how it works , follow the steps below; Step1 Crate a ASP.Net Web Application. Step 2 Right click andContinueContinue reading “ASP.Net GridView with LinqDataSource”
Video LINQ with SQL Azure
*******************************
Video Fetching Tables and Columns name in LINQ to SQL
*********************************
Video Executing SQL Query in LINQ to SQL
********************************
Learning Video Executing Stored Procedure in LINQ to SQL
Source code used in Video ***********************************************************
Windows Phone SDK 7.1 Beta 2 released: installation steps
Note : Content of this post is taken as it is from release note of Windows Phone SDK 7.1 . Please read release document more carefully. I have listed the breaking relase opints as it is from there. Original content is on relase note. On 27th June 2011 Windows Phone SDK 7.1 Beta 2 gotContinueContinue reading “Windows Phone SDK 7.1 Beta 2 released: installation steps”
Executing SQL Query using LINQ to SQL
In this post, I will discuss how we can execute a SQL Query directly from LINQ. Explanation To execute SQL query there is a method in DataContext class called ExecuteQuery ExecuteQuery takes two input parameter 1. SQL Query as string 2. Parameters used in SQL query And it returns an IEnumerable. Example Below code willContinueContinue reading “Executing SQL Query using LINQ to SQL”
Fetching different values in LINQ Concurrency conflict
If you have not read my post Resolving Concurrency conflicts in LINQ then I strongly recommend you to read that. This post is a simple added extension of said post. After reading resolving concurrency conflict in LINQ you are pretty much aware of resolving mechanism of concurrency conflicts. Now assume a requirement that you needContinueContinue reading “Fetching different values in LINQ Concurrency conflict”
Using O/R designer to bind a Windows Form in LINQ
In this post I will show you, how you could bind a Windows Form with Entity created by O/R designer. Essentially we are going to create a DataSource using generated entity of O/R designer. I assume that, 1. You have created Windows Application project. 2. You have created Datacontext and entity class using LINQ toContinueContinue reading “Using O/R designer to bind a Windows Form in LINQ”