如何将数据从Excel导入数据库 [英] how to import data from the excel to database

查看:134
本文介绍了如何将数据从Excel导入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


您能告诉我如何将Excel中的数据导入数据库表吗?

hi!


can u tell me how to import data from the excel to the database table

推荐答案

一个非常简单的主题,可以找到您所需要的信息.

http://support.microsoft.com/kb/316934 [用于ADO.NET的Excel适配器 [
A very easy topic to find information about it you just look.

http://support.microsoft.com/kb/316934[^]

Excel Adapter for ADO.NET[^]


step1.转到对象资源管理器
第2步.选择要导入的数据库.
第三步.右键单击数据库.选择任务,然后单击导入.
第四步.然后将打开一个窗口.单击下一步.
第五步.选择数据源作为excel,并在浏览中提供excel的路径.
步骤6.在女巫中选择要保存此数据的数据库.
步骤7.给出数据库的密码(用户名,密码).
步骤8.单击下一步,并检查是否有正确的映射列.(您可以替换
step1. go to object explorer
step2. select the database in which you want to import.
step3. right click on the database . selet task and then click on import.
step4. then there a window will be open. click on next.
step5. select the datasoure as excel and gives the path of excel in browse.
step6. select the database in witch you want to save this data.
step7. give the athentication (usename, password) of the database.
step8. click on next and check for proper mapping column.(you can replace


sheet1


这篇关于如何将数据从Excel导入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆