Sir,
I am in Windows form mini project. My issue is search function in DataGridView with a TextBox is not working perfectly; gridview is filling , but with a duplicate row.
this is SQL Query : -
result before search function:-
and the result after search function : -


Nishant MittalRank #692 · 3.5K reputationPosted May 6, 2016, 1:36 AM EDT
Shakti Singh DulawatRank #668 · 3.6K reputationPosted May 6, 2016, 12:51 AM EDT
Nishant MittalRank #692 · 3.5K reputationPosted May 6, 2016, 12:52 AM EDT
Shakti Singh DulawatRank #668 · 3.6K reputationPosted May 6, 2016, 12:58 AM EDT
Bineesh ViswanathRank #1,680 · 907 reputationPosted May 6, 2016, 1:01 AM EDT
The columns has been repeated one more time. you can see productId,ProductName etc. are displayed two times in same row.
Ranjit PowarRank #553 · 4.4K reputationPosted May 6, 2016, 1:27 AM EDT
Ranjit PowarRank #553 · 4.4K reputationPosted May 6, 2016, 1:32 AM EDT
Nishant MittalRank #692 · 3.5K reputationPosted May 6, 2016, 1:33 AM EDT
Bineesh ViswanathRank #1,680 · 907 reputationPosted May 6, 2016, 2:15 AM EDT
here the result:-