在插入数据库之前是否需要转换Excel文件 [英] Do I Need To Convert The The Excel File Before Inserting Into Databas

查看:65
本文介绍了在插入数据库之前是否需要转换Excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里有一个文件上传器我可以上传excel文件并插入数据库





HttpPostedFileBase filel
$ b得到之后$ b我需要调用任何方法将其存储到数据库menas任何转换

i have aa file uploader here i can upload excel file and insert into database


HttpPostedFileBase filel
after getting that do i need to call any method to store this into database menas any conversion

推荐答案

将其转换为什么?您是在谈论从Excel工作簿中提取数据并存储它还是存储实际文件本身?



对于该文件,已经记录了数千次网络。您只需要谷歌在SQL服务器中存储文件并开始阅读。
Convert it into what? Are you talking about extracting the data out the Excel workbook and storing just that or storing the actual file itself?

For the file, this has been documented thousands of times on the web. You need only to Google for "store file in SQL server" and start reading.


这篇关于在插入数据库之前是否需要转换Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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