In Visual Studio 2005, I have my DataSet filled with several static tables
(they might get changed weekly, but that's about it).
With one of these tables in the DataSet, is it possible to select distinct
items?
Ex:
I want to fill a tree with a list of job titles, and the Employee table
isalready filled with all of our employee records. Is there a way I could do
something like this below?
DataRow[] drTitles = DataSet1.Tables["Employees"].Select("Distin ct JobTitle");
(the line above will fail with "Syntax error: Missing operand after JobTitle
operator.")
I'm double posting this question. I think it is more relivant in the SQL
boards, but they do not see much activity; hence, the question is being
posted here too.
(they might get changed weekly, but that's about it).
With one of these tables in the DataSet, is it possible to select distinct
items?
Ex:
I want to fill a tree with a list of job titles, and the Employee table
isalready filled with all of our employee records. Is there a way I could do
something like this below?
DataRow[] drTitles = DataSet1.Tables["Employees"].Select("Distin ct JobTitle");
(the line above will fail with "Syntax error: Missing operand after JobTitle
operator.")
I'm double posting this question. I think it is more relivant in the SQL
boards, but they do not see much activity; hence, the question is being
posted here too.
Comment