Select Layer By Attribute (C# .NET)

Discussion created by voitii2015 on Jun 13, 2012
Latest reply on Jun 13, 2012 by voitii2015
Hi all,

im trying to select some features from table_view using geoprocessing in C# .NET. There is no problem with selecting just one feature(line in table) with the specified "where_clause" like ID = 10, but the problem is, when I want to use variables to select some features. For example select by using:  for(int a = 0; a < 10; a++) and I want to select feature(line in table) where "ID = i".   Maybe it is something like this( " ID = % i " + a %) ??