i wanna Compare a Text with the all records in a table in the database
i wanna do it using Foreach or For loop
as if there is any mail in the database that similar to the one the user enter
i wanna enter the data of the Customer and before he make save i wanna make sure that this customer is not already in the data base
MSSQL server 2005
i am Coding by LINQ
i wanna Compare a Text with the all records in a table in the
Share
I think you could try:
I mean: if you read data you need with a query (returning a
IDataReader) you can go trough each record and do what you need.