Question : Strange SQL Error

Hi,

I have some code that compiles but gives a strange error message.  Here is the code:

Does anything look out of place?

Is uses a function that is from here: http://forum.lessthandot.com/viewtopic.php?f=17&t=7566
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
connection = New SqlConnection(connetionString)
            Try

                Dim strchklist As String = ""
                Dim li As ListItem
                For Each li In lbMeetingMinutes.Items
                    If li.Selected Then
                        strchklist += "," + li.Value
                    End If
                Next
                If strchklist = "" Then
                    Response.Write("No item Selected")
                End If

                connection.Open()

                adapter = New SqlDataAdapter("SELECT action_id, action_ref, description, status, actioner, date_raised  FROM tbl_action INNER JOIN dbo.fnSplitWithCTE(@Neighborhood,',',1) ON Neighborhood = VALUE", connection)
                adapter.SelectCommand.Parameters.Add("@Neighborhood", SqlDbType.NVarChar, 150).Value = strchklist.Substring(1)
                adapter.Fill(dt)
            Catch ex As Exception
                MsgBox(ex.ToString)
            End Try

Answer : Strange SQL Error

The well known examples I've come across in the past haven't been genetically modified (in the modern sense of jumping right in there and tinkering with genes), but have been either random mutations or intentional cross fertilizations, which are then propagated by methods other than seeds.  (Splicing branches of the seedless variety onto an otherwise normal variety for the seedless oranges, for example.)
Random Solutions  
 
programming4us programming4us