E
Ed
Now that I know how to read my data from a CVS file into a DataSet, I
need to know how to work with it. How do I create another DataSet that
has only those rows from the full table that have a specified value of
certain attributes?
For example, suppose my full table looks like this:
JOC Class Description Year first Year last Model Series Body
style Doors Seats Top Engine cyl. Engine disp.
Classics SS I 1931 1936 SS Saloon 2 2 Soft
Classics SS 1931 1936 SS 2 2 Soft
Classics SS Saloon 1.5 1936 1940 SS Saloon 2 4 Soft 1.5
Classics SS Saloon 2.5 1935 1940 SS Saloon 2 4 Hard 6 2.5
Classics SS Saloon 3.5 1937 1939 SS Saloon 2 4 Hard 6 3.5
Classics SS Tourer 2.5 1935 1937 SS Open tourer 2 4 Soft 6
2.5
Classics SS 100 2.5 1936 1940 SS Roadster 2 2 Soft 6 2.5
Classics SS 100 3.5 1937 1940 SS Roadster 2 2 Soft 6 3.5
Classics SS DHC 1.5 1937 1940 SS Drop head coupe 2 2 Soft 6
1.5
Classics SS DHC 2.5 1937 1940 SS Drop head coupe 2 2 Soft 6
2.5
Classics SS DHC 3.5 1937 1939 SS Drop head coupe 2 2 Soft 6
3.5
Limo DS 420 Limo 1968 1992 DS Limo 4 4 Hard 6 4.2
XK Sports cars XK 120 roadster 1949 1952 XK Roadster 2 2 Soft
6 3.4
XK Sports cars XK 120 OTS 1949 1952 XK Drop head coupe 2 2
Soft 6 3.4
XK Sports cars XK 120 DHC 1949 1952 XK Convtible 2 2 Hard 6
3.4
XK Sports cars XK 120 FHC 1949 1952 XK Fixed head coupe 2 2
Hard 6 3.4
E-Type E-Type OTS Ser. 1 3.8L 1961 1961 E-Type 1 Open two
seater 2 2 Soft 6 3.8
How do I create a new DataSet that has only the rows that have Model =
XK and Top = Hard
I realize this is revealing my ignorance of relational databases, but
mayben someone can get me going in the right direction.
Thanks.
Ed
need to know how to work with it. How do I create another DataSet that
has only those rows from the full table that have a specified value of
certain attributes?
For example, suppose my full table looks like this:
JOC Class Description Year first Year last Model Series Body
style Doors Seats Top Engine cyl. Engine disp.
Classics SS I 1931 1936 SS Saloon 2 2 Soft
Classics SS 1931 1936 SS 2 2 Soft
Classics SS Saloon 1.5 1936 1940 SS Saloon 2 4 Soft 1.5
Classics SS Saloon 2.5 1935 1940 SS Saloon 2 4 Hard 6 2.5
Classics SS Saloon 3.5 1937 1939 SS Saloon 2 4 Hard 6 3.5
Classics SS Tourer 2.5 1935 1937 SS Open tourer 2 4 Soft 6
2.5
Classics SS 100 2.5 1936 1940 SS Roadster 2 2 Soft 6 2.5
Classics SS 100 3.5 1937 1940 SS Roadster 2 2 Soft 6 3.5
Classics SS DHC 1.5 1937 1940 SS Drop head coupe 2 2 Soft 6
1.5
Classics SS DHC 2.5 1937 1940 SS Drop head coupe 2 2 Soft 6
2.5
Classics SS DHC 3.5 1937 1939 SS Drop head coupe 2 2 Soft 6
3.5
Limo DS 420 Limo 1968 1992 DS Limo 4 4 Hard 6 4.2
XK Sports cars XK 120 roadster 1949 1952 XK Roadster 2 2 Soft
6 3.4
XK Sports cars XK 120 OTS 1949 1952 XK Drop head coupe 2 2
Soft 6 3.4
XK Sports cars XK 120 DHC 1949 1952 XK Convtible 2 2 Hard 6
3.4
XK Sports cars XK 120 FHC 1949 1952 XK Fixed head coupe 2 2
Hard 6 3.4
E-Type E-Type OTS Ser. 1 3.8L 1961 1961 E-Type 1 Open two
seater 2 2 Soft 6 3.8
How do I create a new DataSet that has only the rows that have Model =
XK and Top = Hard
I realize this is revealing my ignorance of relational databases, but
mayben someone can get me going in the right direction.
Thanks.
Ed