关于将数据导入我们的数据库 [英] about importing data into our database

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

问题描述

如果我有一个数据库,并且在其中保持了完整的学校信息.那么
如何在不进行手动操作的情况下将另一所学校的信息导入到我的数据库中,并且如果他们将excel表中的数据发送给我,则excel表的格式与我的数据库表不匹配?如何将其准确地插入数据库中的数据列名称和全部.

if i have a data base and in that i maintained complete school information.Then
how to import the another school information into my data base without doing manually, and if they send me the data in excel sheet, the format of the excel sheet is not matching with my database tables the how to insert it data int my database with exact column name and all.

Can any one help me.

推荐答案

首先,您必须阅读excel工作表列标题,然后才能通过代码创建表.
尝试这样可能会帮助您
first you have to read that excel sheet column headings then you have to create table through code
try like this it may help you


http://www.dotnetfunda.com/forums/thread6095-import-bulk-insert-of-excel-into-sql.aspx[^]


hope this link help you


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

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