Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have a table without primary key and I am displaying all records in gridview. In this case I want to avoid duplicate records in gridview. How can I do it? Can anyone help?
Posted
Updated 14-Dec-10 19:03pm
v2

1 solution

It would be best to fetch a distinct set of records via the query itself.

If you still want to do this from the grid, however, then see here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900