mdbtools mysql_示例代码将.mdb文件转换为mysql

bd96500e110b49cbb3cd949968f18be7.png

In my application, a page is there, where a user can browse for an mdb files and can save the data of mdb files into my mysql table.

Can anybody help me in this ?

I need everything in c#.net.

Is there any API that perform such actions?

Please help. Its urgent.

Thanks

解决方案If this something you wanna do with C# -

You need to read the schema in access table and create a similar schema in My Sql using ADO.Net.

Then dynamically read each rows in data table either through Reader or adapter and dump the data into mysql.

But, if this operation is only for the first time, I think, it would be better to convert Access database to My Sql using some 3rd party tool -

Few links which could be helpful -

Access To MySQL[^]

How to import a Microsoft Access database into mySQL by using c#[^]

Hope this helps

cheers

A simple google search reveals a lot of ''converters''. As an example you can use - http://mdbtools.sourceforge.net/[^]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值