I have application which contain textbox, 2 button and datagridview
In text box user will enter query
button1 click to display query result in gridview and Button2 to export data to excel
My application is working fine
But problem is when i again click button1 it also show the previous data with new one
But i dont want when user click button1 2nd time the prevoius data to be present
Arjun_Sarankulu -3 Junior Poster
kvprajapati 1,826 Posting Genius Team Colleague
samueal 0 Junior Poster
Arjun_Sarankulu -3 Junior Poster
Arjun_Sarankulu -3 Junior Poster
Mitja Bonca 557 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.