LINQ in Action roller

Null Reference Error

hi , I am new to Linq so plz dont mind if question looks really stupid to u. Actually I wrote the following code and when I run it I get the "NullReferenceException Unhandeled" Code Snippet Dim arr(5) As String Dim str As String Dim query As IEnumerable( Of String ) arr(0) = "Mike" arr(1) = "Error" arr(2) = "Hai" arr(3) = "this" arr(4) = "Links" query = From n In arr Where n.Length = 5 Select n.ToUpper For Each str In query TextBox1.Text += str.ToString Next Can anyone tell me wat could be the error Read More...
Published Monday, May 26, 2008 7:42 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication