c# - Adding an empty row to the datatable at the end when reading excel and fill to the datatable -


i have read excel file using oledb , fill datatable. fine when delete each cell of each column in excel file using delete button keyboard, empty row gets added data table after read. when delete entire row select, problem not reproduce.

if knows solution please let me know.

i used below connection string

"provider=microsoft.ace.oledb.12.0;data source=" + path + ";extended properties=\"excel 12.0;imex=1\""; 


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -