如何从.tab文件中检索数据并使用C#.net动态地将其存储在数据库中,反之亦然? [英] How to retrieve data from .tab file and store it in database dynamically and vice versa using C# .net?

查看:69
本文介绍了如何从.tab文件中检索数据并使用C#.net动态地将其存储在数据库中,反之亦然?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了几种技术但没有任何效果。

请帮助

I have tried several technique but nothing worked.
Please help

推荐答案

有很多方法可以做到这一点。你需要使用System.File对象来读取文件,然后使用SqlConnection和SqlCommand来插入数据。



如果你已经尝试了一些东西,他们不起作用我建议你发布一个新的具体问题,并显示你尝试过的代码并解释问题所在。
There are many ways to do it. You'll need to use the System.File object to read the file then use the SqlConnection and SqlCommand to insert the data.

If you have tried some things and they did not work I would suggest you post a new specific question and show what code you tried and explain what the problem was.


这篇关于如何从.tab文件中检索数据并使用C#.net动态地将其存储在数据库中,反之亦然?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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