CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Sep 2009
    Posts
    1

    using 3 tables to create a new table

    Hi,
    I need to create a table with 2 columns (Name and LastDate). Row amount depend on the source tables. I get various tables from the system using the following line:

    Code:
       DataSet myDS = new DataSet();   
       myDS = DataObjects["QueryResult"] as System.Data.DataSet;
    The "Name" values are in one table; the "LastDate" values are in a different table and there is a third table wich has a code/index to relate both.

    I need help; I'm SOOO LOST in C#. I'm a self thaught VBA coder but I'm strugeling with this virtual tables/grids/datsets, etc.

    I searched the net, and found the following tools.
    Code:
    Dictionary<string, string> key2count = new Dictionary<string, string>();
    foreach (KeyValuePair<string, string> kv in key2count)
    Unfortunatelly they aint working for me.

    I really appreciate any help (code or further documentations links)

    P.S. I'm attaching an excel document with a sample of the source tables and sample of the desired output.

    Thanks
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured