Wrox Programmer Forums
|
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 14th, 2009, 02:45 PM
Registered User
 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Errors running a LINQ to Sql Filter

I am trying to filter data in a sql file using LINQ coding but it keeps stating the a method is not being implemented at the end of the code. The part of the code in red is where i get the "The method or operation is not implemented".


Code:
   Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton1.Click
        Dim filteredByMake = _
                    From Listing In Me.CarTrackerDataSet.Listing _
                    Join Make In Me.CarTrackerDataSet.Make _
                    On Listing.MakeID Equals Make.MakeID _
                    Where Make.MakeName.ToLower() Like _
                    "*" & tstbFilterByMake.Text.ToLower() & "*" _
                    Select Listing

        Me.ListingBindingSource.DataSource = filteredByMake
    End Sub

Please need major assistance





Similar Threads
Thread Thread Starter Forum Replies Last Post
Linq to SQL and the Entity Framework marko_ln BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 4 February 25th, 2010 11:20 AM
LINQ to SQL or not? gvdamn BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 2 August 20th, 2009 05:08 AM
LINQ to SQL bakm04 BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 0 August 17th, 2009 04:07 PM
DTS errors out when running on local machine levinll SQL Server DTS 0 December 17th, 2008 12:17 PM
LINQ to SQL in TheBeerHouse zhoux BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 October 1st, 2008 07:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.