Hello, I have a DataTable
. I can also use Linq
.
In a DataTable
have many columns, and rows. One of the column is called as feedCode. its type is string
. in database
it's length is 7 varchar
, nullable.
feedCode may contain values as 9051245, 9051246, 9051247, 9031454, 9021447.
Method must return most matched (in this case starting with 905) value 905 (first 3 character of string)?
thanks.