Browse by Tags
All Tags »
VB.NET 9.0 (RSS)
IEnumerable<T> and IQueryable<T> are the two most used terms of any LINQ discussion. What I am trying to here is that I am trying to simplify the two interfaces depending on their behavior. In LINQ world we generally have few providers available
Read More...
When you create data bind application using wizard in Windows Forms application and connection string gets added to you settings file. Now you may be interested in changing that connection string but problems, 1) The connection string in settings has
Read More...
Let’s say I have created two Xml files using LINQ to XML from Northwind database. I have taken two tables Category and Products and tried to join between two different files. Category XML <? xml version = " 1.0 " encoding = " utf-8 " ?> < categories
Read More...
I have discussed about the native XML support in VB.NET code editor in one of my BLOG posts. Now to generate a XML dynamically with values you can play with LINQ and project it to a XML. Let us get the list of process running into my local machine with
Read More...
This is the one feature which can make VB.NET developers feel better than C# folks. I have seen people complaining about MS saying that MS has done lot for C# but not equally for VB.NET. One of the biggest was Refractoring. There are so many such. But
Read More...
If you want to use Lambda Expression as reusable function, you need to use Func. By using the Func we are actually calling in-build delegate. So if you write Dim sqr As Func( Of Double , Double ) = Function (x) x * x Then you can use it in you application
Read More...
In VB.NET 9.0 Lambda is one of the features we have here. Lambda expression is just another way to call Anonymous method/delegate. Let’s look into a generic list of integers, and play with it, Dim arrInt As New List( Of Integer ) For i As Integer = 1
Read More...
Last week I was exploring VB.NET for the ISV demo delivery. Some findings I want to share with you. First the object and Array Initializers Let’s suppose we have a class called Customer Public Class Customer Public Id As Integer Public Name As String
Read More...
Download available for Hand On Labs for Ø LINQ Ø LINQ to SQL http://www.microsoft.com/downloads/details.aspx?FamilyID=e7fa5e3a-f8b2-4f77-bbcd-b5b978402dd1&DisplayLang=en Namoskar!!!
Read More...