如何使用c sharp编码导入.db文件 [英] How to import .db files using c sharp codings

查看:63
本文介绍了如何使用c sharp编码导入.db文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



我正在使用c sharp编码创建Windows应用程序,在我的应用程序中我有一个导入选项,我可以导入Excel文件,.CSV文件和.db文件数据进入SQL Server。对于导入Excel文件和.CSV文件,我编写了一个编码并且工作正常,但现在我需要导入.db文件,所以任何人都可以建议我使用c sharp从.db文件中读取一个表及其数据代号。 :)。提前致谢 。 :)





谢谢和问候,

Saravana Kumar.M

Hi Friends,

I am creating windows application using c sharp codings , in my application i have a import option where i can import Excel files, .CSV files and .db File data''s into the SQL Server. For Importing Excel File and .CSV file i have written a coding and its working fine but now i need to import .db Files , So can any one suggest me to read a Tables and its data''s from .db Files using c sharp codings. :). Thanks in Advance . :)


Thanks & Regards,
Saravana Kumar.M

推荐答案

请参阅 https://www.google.co.uk/search ?q = .db + file [ ^ ]。


hi Saravan,



你需要添加第三方参考SQLITE.NET.dll并尝试使用ADO.NET Connection满足您的要求。
hi Saravan,

You need to add Reference of third party SQLITE.NET.dll and try using ADO.NET Connection for your Requirements.


这篇关于如何使用c sharp编码导入.db文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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