简体   繁体   English

将文件从Excel 2010导入到Visual Studio SQL Server

[英]Importing a file from Excel 2010 to visual studio SQL Server

I have some data that in excel file (cvs file), how can I import those data to the sql database for the website? 我在excel文件(cvs文件)中有一些数据,如何将这些数据导入网站的sql数据库?

ps: I am using vs2013, excel 2013. ps:我使用的是vs2013,excel 2013。

also, I am really a beginner, please show all the detail for the problem. 另外,我真的是一个初学者,请显示问题的所有详细信息。

Thank you so much! 非常感谢!

You can do this using Import Wizard in Sql Server Management Studioo. 您可以使用Sql Server Management Studioo中的导入向导来执行此操作。 Right click on the database and go to Tasks > Import Data . 右键单击数据库,然后转到“任务”>“导入数据”。 In Choose Data Source dialog Box , Select Excel option from drop down list. 在“选择数据源”对话框中,从下拉列表中选择“ Excel”选项。

Follow steps here 请按照这里的步骤

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM