How to find a common one values from number items from a datatable

Aug 30 2011 10:12 AM
Hai

I have a table as follows

 
Table1
namedatebookamnt
Madhu01/01/2011year book100
Anoop01/01/2011Manorama10
Madhu05/01/2011Mathrubhimi100
Dhanya10/01/2011Poompatta15
Madhu10/01/2011Kavitha50
Anoop15/01/2011Yearbook100
Madhu16/01/2011Kayar500
Madhu17/01/2011Asp.net550
Anoop18/01/2011C#800
Anoop20/01/2011Sql450


In this table1 name repeating in the name column. I want to take only one name representing the same name and so on. That is the answer is "Madhu, Anoop, Dhanya". Which method I use for taking this answer. Plz give the sql code in c#


Madhukumar viswanath

Answers (3)