How to select distinct records from a dataset where writing a storeprocedure for this
How select distinct records from dataset
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
How to select distinct records from a dataset where writing a storeprocedure for this
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bechir BejaouiRank #144 · 15.9K reputationPosted Nov 24, 2008, 2:22 PM EST
var query = (
from row in yourdataset.tables["tableName"].AsEnumerable()
select row.Field
foreach (var name in query) {
Console.WriteLine(name);
}