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
Post a Comment