dbf creation
-
Hi all, I'm going to make a dbf file using c#.net , in my case I need to make a dbf file which could be stored on floppy and moved to insurance company , and of course it must be formatted in standard details that informed by the company, and the problem is .... How to make dbf file in c#? of course for free! I searched google but there is no related result Thank You :)
-
Hi all, I'm going to make a dbf file using c#.net , in my case I need to make a dbf file which could be stored on floppy and moved to insurance company , and of course it must be formatted in standard details that informed by the company, and the problem is .... How to make dbf file in c#? of course for free! I searched google but there is no related result Thank You :)
Make Empty dbf file , and store it in your application resource , or application location Then fill it with data "Using OleDB" , and copy it to floppy HINT Code :
OleDbConnection ccc = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filepath.Substring(0, filepath.LastIndexOf("\\")) + ";Extended Properties=dBASE IV;");
ccc.Open();
OleDbCommand cmd1 = new OleDbCommand("Select * From " + filepath + "smsout.dbf", ccc);
OleDbDataReader dr1 = cmd1.ExecuteReader();
if (dr1.HasRows)
{
DataTable dt1 = new DataTable();
dt1.Load(dr1);
}
ccc.Close();BTW: Is floppy still in use ?
I know nothing , I know nothing ...
-
Hi all, I'm going to make a dbf file using c#.net , in my case I need to make a dbf file which could be stored on floppy and moved to insurance company , and of course it must be formatted in standard details that informed by the company, and the problem is .... How to make dbf file in c#? of course for free! I searched google but there is no related result Thank You :)
mersad00 wrote:
could be stored on floppy
Your about five years too late. ;P
I know the language. I've read a book. - _Madmatt
-
mersad00 wrote:
could be stored on floppy
Your about five years too late. ;P
I know the language. I've read a book. - _Madmatt
But I thought dbfs could only be stored on floppy. :confused:
-
But I thought dbfs could only be stored on floppy. :confused:
As far as I can see it's not dependent on storage medium. But I meant that I haven't seen a floppy in years. Useless to have a file no one can use.
I know the language. I've read a book. - _Madmatt
-
mersad00 wrote:
could be stored on floppy
Your about five years too late. ;P
I know the language. I've read a book. - _Madmatt
-
in my country floppy is the only medium for some old companies,like insurances and banks another question? How to make empty dbf files????????
That's pretty modern. Here in Germany some companies'/authorities' IT departments prevent the introduction of digital dictation and speech recognition by insisting that that must be done without computers, like dictation on tapes. Maybe they fear their backup of the files become to heavy, several tons of punch cards...
-
Hi all, I'm going to make a dbf file using c#.net , in my case I need to make a dbf file which could be stored on floppy and moved to insurance company , and of course it must be formatted in standard details that informed by the company, and the problem is .... How to make dbf file in c#? of course for free! I searched google but there is no related result Thank You :)
I don´t believe you .... google finds a lot of things about dbf´s. And if you search codeproject with the keyword "dbf", you will find an helpful article/project by pascal ganaye
-
As far as I can see it's not dependent on storage medium. But I meant that I haven't seen a floppy in years. Useless to have a file no one can use.
I know the language. I've read a book. - _Madmatt
Mark Nischalke wrote:
to have a file no one can use
I think that's his goal.
-
Mark Nischalke wrote:
to have a file no one can use
I think that's his goal.
Success by failure ;P
I know the language. I've read a book. - _Madmatt
-
in my country floppy is the only medium for some old companies,like insurances and banks another question? How to make empty dbf files????????
-
I´m sure the youngsters don´t even know the zap statement :)