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. Database & SysAdmin
  3. Database
  4. Buinding in DataGridView

Buinding in DataGridView

Scheduled Pinned Locked Moved Database
databasewpfwcftutorialannouncement
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.
  • N Offline
    N Offline
    nesaraja
    wrote on last edited by
    #1

    Hi all, For Windows Application, I have more than one DataTable in a Dataset, I want to show different columns from diferent DataTable in a row. For Eg: DataTable 1: contains Fiels like 1C1,1C2,1C3 DataTable 2: contains Fiels like 2C1,2C2,2C3 DataTable 3: contains Fiels like 3C1,3C2,3C3 I want to show the record in DataGridView in one row like, 1C1,1C2,1C3,2C1,2C2,2C3,3C1,3C2,3C3 use of Binding And also I want to update all the dataTables back to DataBase. How to achieve this.. Thanks raja

    J 1 Reply Last reply
    0
    • N nesaraja

      Hi all, For Windows Application, I have more than one DataTable in a Dataset, I want to show different columns from diferent DataTable in a row. For Eg: DataTable 1: contains Fiels like 1C1,1C2,1C3 DataTable 2: contains Fiels like 2C1,2C2,2C3 DataTable 3: contains Fiels like 3C1,3C2,3C3 I want to show the record in DataGridView in one row like, 1C1,1C2,1C3,2C1,2C2,2C3,3C1,3C2,3C3 use of Binding And also I want to update all the dataTables back to DataBase. How to achieve this.. Thanks raja

      J Offline
      J Offline
      just3ala2
      wrote on last edited by
      #2

      Hi there guess u should use the join method for the three datatables and then display the results after string manipulation or u need to read the values by using a loop and append the values to a stringBuilder (remember to import the System.text) Hope that it helps :) Best Regards 3ala2

      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