Uploading an Excel sheet and importing the data into SQL Server database

前端 未结 9 1655
闹比i
闹比i 2020-11-29 01:08

I am developing this simple application to upload an Excel file (.xlsx) and import the data present in that Excel worksheet into a SQL Server Express database i

9条回答
  •  鱼传尺愫
    2020-11-29 01:49

    Not sure why the file path is not working, I have some similar code that works fine. But if with two "\" it works, you can always do path = path.Replace(@"\", @"\\");

提交回复
热议问题