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. .NET (Core and Framework)
  4. linking two tables

linking two tables

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdotnetdesign
5 Posts 5 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.
  • K Offline
    K Offline
    kolisa
    wrote on last edited by
    #1

    i am using 3tier design in .net framework,i got two tables called category and menus so i want when i click the button to display in listbox only those who belong in that category..

    D A G L 4 Replies Last reply
    0
    • K kolisa

      i am using 3tier design in .net framework,i got two tables called category and menus so i want when i click the button to display in listbox only those who belong in that category..

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      And the question is .....? You haven't provided a question, nor your code, nor any error messages you've gotten, ..., nothing we can use to diagnose your problem.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      1 Reply Last reply
      0
      • K kolisa

        i am using 3tier design in .net framework,i got two tables called category and menus so i want when i click the button to display in listbox only those who belong in that category..

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        Write a query to fetch the appropriate data (those who belong to that category) and then pass it onto the listbox.

        1 Reply Last reply
        0
        • K kolisa

          i am using 3tier design in .net framework,i got two tables called category and menus so i want when i click the button to display in listbox only those who belong in that category..

          G Offline
          G Offline
          GauravKP
          wrote on last edited by
          #4

          You have not make it clear what how your 3-tier design is related, but concerning your two tables "category" and "menus" you can try INNER JOIN with ON condition which relates the key values in both table. ---------------------------------- Hope it will help you.

          1 Reply Last reply
          0
          • K kolisa

            i am using 3tier design in .net framework,i got two tables called category and menus so i want when i click the button to display in listbox only those who belong in that category..

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

            Please provide some detail on your question so that it is more clearer to answer it.

            Jinal Desai

            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