I have a requirement in which I need to upload an excel file to a SQL Server database. It works well up to this point.
But sometimes I get an excel file such that the first 2 rows and columns are empty rows. It is not even fixed every time. therefore, the table format after loading does not meet expectations. It designates F1, F2 as the column names for the table in SQL Server.
It varies from file to file. I want to program it so that the user can enter the row number and column number from where the actual data starts. So, loading it, you need from row 3 and column 2.
I do not know how to specify this row and column when loading. Please help me solve the same.
satya source
share