[求助]菜鸟需求帮助,c#操作.txt问题
求各位大侠,在C#中怎么才能将一个关于人员信息的.txt文件,倒到oracle数据库中已经建好的表中?

长久以来一直困惑求帮助

[ DllImport ( "kernel32" ) ]
private static extern int GetPrivateProfileString ( string section ,
string key , string def , StringBuilder retVal ,
int size , string filePath );
public string getConstr(string section,string key,string filepath)
{
StringBuilder buf=new StringBuilder(256);
GetPrivateProfileString(section,key,"",buf,256,filepath);
return buf.ToString();
using System.Runtime.InteropServices;
using System.Text;
这个两个命名空间
这个是一个读ini文件的代码,可以改一下用来读.txt么??如果可以,帮我修改下代码好么,
oracle里有直接用来使用的工具,可是我想要的是在C#环境下一个按钮就可以解决