Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
How can i delete a row from excel sheet on button click based on product id provided in textbox1. Using that product_id it should delete the whole row from excel sheet & display updated data in datagridview ????
Posted

1 solution

Reade the excel data into a datatable then delete your required row from the datatable
and write back to excel file.(the current datatable with records)
 
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