RE: datatable.select("Distinct") or such to string?
- From: Adrian Moore <AdrianMoore@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Jun 2005 14:35:03 -0700
You might be interested in the assembly I've been working on at
http://www.queryadataset.com. Besides DISTINCT, it lets you perform complex
SQL SELECT statements including UNION, JOINS, GROUP BY, HAVING, ORDER BY,
sub-queries, etc against the tables in a dataset.
The web-site allows you to upload your own XML data fragment, DataSet or
resultset and issue queries using the QueryADataSet assembly.
Adrian Moore
http://www.queryadataset.com
---
"DEWright_CA@xxxxxxxxxxxxx" wrote:
> I am hitting a bit of a wall - I am building a table -
>
> public DataTable theTownships = new DataTable("AdjacentTownships");
> public DataTable buildTownshipTable()
> {
> DataColumn tscolumn; //Townships-Range Field
> tscolumn = new DataColumn();
> tscolumn.DataType = System.Type.GetType("System.String");
> tscolumn.ColumnName = "TSR";
> tscolumn.ReadOnly = false;
> tscolumn.Unique = false;
> theTownships.Columns.Add(tscolumn);
>
> return theTownships;
> }
>
> This table is built from another query where each coloumn in that row is
> turned into a row here. So I can have between 1 and 0 rows, some can be
> duplicates.
>
> What I need to do is then select the distinct rows from this table and pass
> them to a for loop that I can then parse/process each of the distinct rows.
>
> Any and all suggestions would be greatly appreciated!!
> --
> D @ premierdata
.
- Follow-Ups:
- RE: datatable.select("Distinct") or such to string?
- From: DEWright_CA@online.nospam
- RE: datatable.select("Distinct") or such to string?
- References:
- datatable.select("Distinct") or such to string?
- From: DEWright_CA@online.nospam
- datatable.select("Distinct") or such to string?
- Prev by Date: ODP.NET Publisher Policy?
- Next by Date: RE: datatable.select("Distinct") or such to string?
- Previous by thread: datatable.select("Distinct") or such to string?
- Next by thread: RE: datatable.select("Distinct") or such to string?
- Index(es):
Relevant Pages
|