populate datagridview from two tables in the same row

Respondido populate datagridview from two tables in the same row

  • Friday, March 02, 2012 10:31 PM
     
     

    I need to populate a datagridview with data from two different tables in the same row. Cam someone help

All Replies

  • Saturday, March 03, 2012 2:23 AM
     
     Answered

    I need to populate a datagridview with data from two different tables in the same row. Cam someone help

    You should use inner join to combine the two tables together and make them into a single one,and then fetch a specific row you want。

    Reguards!


       QQ我:讨论(Talk)
    下载MSDN桌面工具(Vista,Win7)
    我的博客园
    慈善点击,点击此处

  • Saturday, March 03, 2012 2:31 AM
     
     
    do those 2 datatables have different columns? tell us more about it, its not so easy as it hears.

    Mitja

  • Monday, March 05, 2012 9:48 AM
    Moderator
     
     
    Hi pop001,
    Could you please give more information about question? Could you explain with an example?
    If we have more information, we can give better suggestions.
    Best Regards,

    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us