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 Basic
  4. Urgent 001

Urgent 001

Scheduled Pinned Locked Moved Visual Basic
androidsaleshelp
4 Posts 3 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.
  • S Offline
    S Offline
    Sarfaraj Ahmed
    wrote on last edited by
    #1

    I need some instruction and help Customer Table CustID CustName 01 ABC 02 ACB 03 ADB Order Table OrderID CustID 1001 01 1002 01 1003 01 1004 02 1005 02 1006 03 1007 03 1008 03 1009 03 1010 03 I want those output like below CustID CustName OrderID 01 ABC 1001, 1002, 1003 02 ACB 1004, 1005 03 ADB 1006, 1007, 1008, 1009, 1010 Please help me. Thanks Sarfaraj

    Sarfarj Ahmed

    T P 2 Replies Last reply
    0
    • S Sarfaraj Ahmed

      I need some instruction and help Customer Table CustID CustName 01 ABC 02 ACB 03 ADB Order Table OrderID CustID 1001 01 1002 01 1003 01 1004 02 1005 02 1006 03 1007 03 1008 03 1009 03 1010 03 I want those output like below CustID CustName OrderID 01 ABC 1001, 1002, 1003 02 ACB 1004, 1005 03 ADB 1006, 1007, 1008, 1009, 1010 Please help me. Thanks Sarfaraj

      Sarfarj Ahmed

      T Offline
      T Offline
      Tirthadip
      wrote on last edited by
      #2

      I think you cannot do it in single SQL query..... populate a dataset with following query.. SELECT Customer.CustID, CustName, OrderID FROM Customer INNER JOIN Orders ON Customer.CustID=Orders.CustID then loop through your dataset to make customized dataset or datatable which you want ....where you can concatenate the OrderID fields.... did u get me???

      Tirtha "A man can ride on your back only when it is bent....."

      S 1 Reply Last reply
      0
      • S Sarfaraj Ahmed

        I need some instruction and help Customer Table CustID CustName 01 ABC 02 ACB 03 ADB Order Table OrderID CustID 1001 01 1002 01 1003 01 1004 02 1005 02 1006 03 1007 03 1008 03 1009 03 1010 03 I want those output like below CustID CustName OrderID 01 ABC 1001, 1002, 1003 02 ACB 1004, 1005 03 ADB 1006, 1007, 1008, 1009, 1010 Please help me. Thanks Sarfaraj

        Sarfarj Ahmed

        P Offline
        P Offline
        PlayByTheRules
        wrote on last edited by
        #3

        Sarfaraj Ahmed wrote:

        Urgent 001

        This is a useless subject line. Please use more appropriate subject lines in future. Hint: No appropriate subject line will include the word "urgent"

        1 Reply Last reply
        0
        • T Tirthadip

          I think you cannot do it in single SQL query..... populate a dataset with following query.. SELECT Customer.CustID, CustName, OrderID FROM Customer INNER JOIN Orders ON Customer.CustID=Orders.CustID then loop through your dataset to make customized dataset or datatable which you want ....where you can concatenate the OrderID fields.... did u get me???

          Tirtha "A man can ride on your back only when it is bent....."

          S Offline
          S Offline
          Sarfaraj Ahmed
          wrote on last edited by
          #4

          How can I make a customized dataset or dataTable and how can I concatenate the OrderID fields. please send me more instructions with some code Waiting for ur reply.......

          Sarfarj Ahmed

          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