Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. VS 2012 - INNER JOIN TableAdapter and DataTable

VS 2012 - INNER JOIN TableAdapter and DataTable

Scheduled Pinned Locked Moved Visual Studio
databasevisual-studiosysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jebarrett
    wrote on last edited by
    #1

    I have a table adapter that gets information from a SQL 2012 server and I want to do an INN JOIN on it with a datatable created in code that is attached to a datagridview. Basically I have a datagridview with a single column that I will use as a parts list. I want to join it to a parts tableadapter (that has my entire list of parts) to give me only the parts entered in the datagridview. As far as I know I can not filter the tableadapter with a parameter because it is a string field and IN ( a, b, c, d) will not work. Thanks!

    L 1 Reply Last reply
    0
    • J jebarrett

      I have a table adapter that gets information from a SQL 2012 server and I want to do an INN JOIN on it with a datatable created in code that is attached to a datagridview. Basically I have a datagridview with a single column that I will use as a parts list. I want to join it to a parts tableadapter (that has my entire list of parts) to give me only the parts entered in the datagridview. As far as I know I can not filter the tableadapter with a parameter because it is a string field and IN ( a, b, c, d) will not work. Thanks!

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Why have you posted this in the Visual Studio forum? It is an obvious Database[^] issue.

      Veni, vidi, abiit domum

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups