there is no builtin support for excel files. you will want to read the excel rows, buuild an array of datarows, then call the bluck copy. you probably want to do this in batches (1k - 10K rows), rather than read all at once.
read excel file:
[https://learn.microsoft.com/en-us/office/open-xml/open-xml-sdk
write to sqlserver:
[https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlbulkcopy.writetoserverasync?view=dotnet-plat-ext-7.0
if the excel file is really a csv file, then you also have the option of copying the file to sqlserver and call the sqlserver bulk insert:
[https://learn.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql?view=sql-server-ver16