Datable.Select sort expression
Posted
by xyz
on Stack Overflow
See other posts from Stack Overflow
or by xyz
Published on 2010-04-20T04:43:57Z
Indexed on
2010/04/20
4:53 UTC
Read the original article
Hit count: 247
datatable.select
|c#
Hi,
I have datatable with column name tag and 100 rows of data.I need to filter this table with tag starting with "UNKNOWN".
What should my sortexpression for datatable.select be ?
I'm trying the following.
Datarow[] abc = null; abc = dtTagList.Select(string.format("tag='{0}'","UNKNOWN"))
How can I achieve tag startswith 'UNKNOWN' in the above code ?
© Stack Overflow or respective owner