Sorting a dataset

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Benny Raymond

    Sorting a dataset

    I have two tables in my dataset (well, more but for the purpose of my
    question let's just say two). TableA has a int32 in it that refers to
    the ID of a TableB row, many rows in TableA refrence just a few rows
    that exist in TableB. I'd like to select all rows in TableA and sort by
    TableB.SortID (SortID is a column in TableB). My tables are setup like
    this (once again, not really but just for the sake of this question):

    (TableA)
    [ID(int32)][TableBID(int32)]
    (TableB)
    [ID(int32)][SortID(int32)]

    This is a simple query in SQL, however I can't figure out how to phrase
    my TableA.Select(" ","SORT") in order to get the information i need.

    Any help would be great,

    --
    Benny Raymond
    岩芯钻机_水井钻机_工程钻机_矿山钻机_开云在线官方网站_开云(中国) 开云在线官方网站_开云(中国)主营勘探钻机、水井钻机、工程钻机、矿山钻机。

Working...