Click here to Skip to main content
16,004,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello

when i click on button then repeat the data in crystalreportviewer1
i want to clear old data when i click on button.



Like

'first time search

NO NAME
1 a
2 b

'second time search
NO NAME
1 a
2 b
1 a
2 b
Posted
Comments
Sunasara Imdadhusen 24-Dec-10 23:27pm    
Please send the code that you have used

Probably you need to refresh your report before binding data into It.

reportObj.RefreshReport(); do the trick for you.

See RefreshReport[^] for more
 
Share this answer
 
Comments
[no name] 25-Dec-10 6:41am    
NOT WORKING MAN

DATA IS REPEATING WHEN I CLICK ON BUTTON.
Here you go.

Crystal Reports: Remove Duplicate Values[^](It's enough)

Supress Duplicate Records[^]

If you still fighting with that then let us know.
 
Share this answer
 
Comments
[no name] 4-Jan-11 21:27pm    
i am still fighting man.

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