Need to write numeric values in DBF File using ExcelReaderFactory












1















The code below is tested and writes a dbf file but the values are strings because i cannot seem to initialize or convert the values to doubles or floats before writing to the file. Can anyone assist and see how for example the first variable(bsi_code) can be written as a double or float? Is it okay to declare the headers as var....how to then convert and add this record as a float or double.



private void GetWeeklyDeliveries()
{
string FilePath = textBox1.Text;
using (var fileStream = new FileStream(FilePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
using (var rdr = ExcelReaderFactory.CreateReader(fileStream))
{
using (Stream fos = File.Open(@"C:FuelZINVOW.dbf", FileMode.OpenOrCreate, FileAccess.ReadWrite))
{
//Create New File or Open New File.
var writer = new DBFWriter();
var bsi_code = new DBFField("HIS_ID", NativeDbType.Char, 25, 0);
var f_name = new DBFField("FNAME", NativeDbType.Char, 50, 0);
var t_w_ton = new DBFField("T_W_TON", NativeDbType.Char, 25, 0);
var y_d_ton = new DBFField("Y_D_TON", NativeDbType.Char, 25, 0);
var w_k_end = new DBFField("WKEND", NativeDbType.Char, 25, 0);
var loc = new DBFField("LOC", NativeDbType.Char, 20, 0);
var b_name = new DBFField("B_NAME", NativeDbType.Char, 50, 0);
var a_name = new DBFField("A_NAME", NativeDbType.Char, 50, 0);
var fuel_rate = new DBFField("FUELRATE", NativeDbType.Numeric, 25, 5);
var payment = new DBFField("PAYMENT", NativeDbType.Numeric, 25, 5);
var hun_fig = new DBFField("HUNFIG", NativeDbType.Char, 12, 0);
var ten_fig = new DBFField("TENFIG", NativeDbType.Char, 12, 0);
var one_fig = new DBFField("ONEFIG", NativeDbType.Char, 12, 0);
var hundred = new DBFField("HUNDRED", NativeDbType.Char, 12, 0);
var teen = new DBFField("TEEN", NativeDbType.Char, 12, 0);
var ten = new DBFField("TEN", NativeDbType.Char, 12, 0);
var one = new DBFField("ONE", NativeDbType.Char, 12, 0);
var words = new DBFField("WORDS", NativeDbType.Char, 50, 0);
var authority = new DBFField("AUTHORITY", NativeDbType.Char, 12, 0);
var thoufig = new DBFField("THOUFIG", NativeDbType.Char, 12, 0);
var thousand = new DBFField("THOUSAND", NativeDbType.Char, 12, 0);
var newrate = new DBFField("NEWRATE", NativeDbType.Numeric, 25, 5);
var sn = new DBFField("SN", NativeDbType.Numeric, 25, 0);
var lic = new DBFField("LIC", NativeDbType.Char, 12, 0);
var dealloc = new DBFField("DELALOC", NativeDbType.Char, 12, 0);
var fee = new DBFField("FEE", NativeDbType.Numeric, 12, 5);

writer.Fields = new { bsi_code, f_name, t_w_ton, y_d_ton, w_k_end, loc, b_name, a_name, fuel_rate, payment, hun_fig, ten_fig, one_fig, hundred, teen, ten, one, words, authority, thoufig, thousand, newrate, sn, lic, dealloc, fee };

while (rdr.Read())
{//Begin Reading Delivery File (XLS)

var bsicode = rdr[0];
var fname = rdr[1];
var twton = rdr[2];
var ydton = rdr[3];
var wkend = rdr[4];


if (bsicode.ToString() == "HIS_ID")
{
//Skip First Record
}

else if (Convert.ToDouble(twton.ToString()) > 0)
{

var bsicodex = bsicode.ToString();
var fnamex = fname.ToString();
var t_w_tonx = twton.ToString();
var y_d_tonx = ydton.ToString();
var w_k_endx = wkend.ToString();
var locx = "";
var b_namex = "";
var a_namex = "";
var fuel_ratex = "";

using (simisdbEntities db = new simisdbEntities())
{
var getdata = db.GetFuelRatesByBsiCode(3, bsicodex); // Get the current crop year




foreach (var z in getdata)
{

locx = z.LOC;
b_namex = z.B_NAME;
a_namex = z.AREA;
fuel_ratex = z.FUELRATE.ToString();



}

}

var paymentx = "70.00";//need to Calculate
var hun_figx = "";
var ten_figx = "";
var one_figx = "";
var hundredx = "";
var teenx = "";
var tenx = "";
var onex = "";
var wordsx = "";
var authorithyx = "";
var thoufigx = "";
var thousandx = "";
var newratex = 1.19 * 6; //Need to Calculate
var snx = 1234; //Need to autogenerate can Be Primary Key
var licx = "";
var deallocx = "";
var feex = 1.3 * 34; //Need to Calculate
writer.AddRecord(bsicodex, fnamex, t_w_tonx, y_d_tonx, w_k_endx, locx, b_namex, a_namex, fuel_ratex.ToString(), paymentx, hun_figx, ten_figx, one_figx, hundredx, teenx, tenx, onex, wordsx, authorithyx, thoufigx, thousandx, newratex.ToString(), snx, licx, deallocx, feex.ToString());

}

}
writer.Write(fos);

}

}
}









share|improve this question























  • Have you tried casting the value as a double after to get it? var bsicode = (double)rdr[0]; or something of the sort? (Obviously insert that wherever you're wanting to have the cast/conversion take place)

    – Symon
    Jan 2 at 16:42













  • The DBFFIELD last two parameters are size and start columns. Why do they all start in columns 0 and 5?

    – jdweng
    Jan 2 at 17:18











  • I figured it out here: elitecsoft.com/programming/c/…

    – ivias
    Jan 4 at 23:42
















1















The code below is tested and writes a dbf file but the values are strings because i cannot seem to initialize or convert the values to doubles or floats before writing to the file. Can anyone assist and see how for example the first variable(bsi_code) can be written as a double or float? Is it okay to declare the headers as var....how to then convert and add this record as a float or double.



private void GetWeeklyDeliveries()
{
string FilePath = textBox1.Text;
using (var fileStream = new FileStream(FilePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
using (var rdr = ExcelReaderFactory.CreateReader(fileStream))
{
using (Stream fos = File.Open(@"C:FuelZINVOW.dbf", FileMode.OpenOrCreate, FileAccess.ReadWrite))
{
//Create New File or Open New File.
var writer = new DBFWriter();
var bsi_code = new DBFField("HIS_ID", NativeDbType.Char, 25, 0);
var f_name = new DBFField("FNAME", NativeDbType.Char, 50, 0);
var t_w_ton = new DBFField("T_W_TON", NativeDbType.Char, 25, 0);
var y_d_ton = new DBFField("Y_D_TON", NativeDbType.Char, 25, 0);
var w_k_end = new DBFField("WKEND", NativeDbType.Char, 25, 0);
var loc = new DBFField("LOC", NativeDbType.Char, 20, 0);
var b_name = new DBFField("B_NAME", NativeDbType.Char, 50, 0);
var a_name = new DBFField("A_NAME", NativeDbType.Char, 50, 0);
var fuel_rate = new DBFField("FUELRATE", NativeDbType.Numeric, 25, 5);
var payment = new DBFField("PAYMENT", NativeDbType.Numeric, 25, 5);
var hun_fig = new DBFField("HUNFIG", NativeDbType.Char, 12, 0);
var ten_fig = new DBFField("TENFIG", NativeDbType.Char, 12, 0);
var one_fig = new DBFField("ONEFIG", NativeDbType.Char, 12, 0);
var hundred = new DBFField("HUNDRED", NativeDbType.Char, 12, 0);
var teen = new DBFField("TEEN", NativeDbType.Char, 12, 0);
var ten = new DBFField("TEN", NativeDbType.Char, 12, 0);
var one = new DBFField("ONE", NativeDbType.Char, 12, 0);
var words = new DBFField("WORDS", NativeDbType.Char, 50, 0);
var authority = new DBFField("AUTHORITY", NativeDbType.Char, 12, 0);
var thoufig = new DBFField("THOUFIG", NativeDbType.Char, 12, 0);
var thousand = new DBFField("THOUSAND", NativeDbType.Char, 12, 0);
var newrate = new DBFField("NEWRATE", NativeDbType.Numeric, 25, 5);
var sn = new DBFField("SN", NativeDbType.Numeric, 25, 0);
var lic = new DBFField("LIC", NativeDbType.Char, 12, 0);
var dealloc = new DBFField("DELALOC", NativeDbType.Char, 12, 0);
var fee = new DBFField("FEE", NativeDbType.Numeric, 12, 5);

writer.Fields = new { bsi_code, f_name, t_w_ton, y_d_ton, w_k_end, loc, b_name, a_name, fuel_rate, payment, hun_fig, ten_fig, one_fig, hundred, teen, ten, one, words, authority, thoufig, thousand, newrate, sn, lic, dealloc, fee };

while (rdr.Read())
{//Begin Reading Delivery File (XLS)

var bsicode = rdr[0];
var fname = rdr[1];
var twton = rdr[2];
var ydton = rdr[3];
var wkend = rdr[4];


if (bsicode.ToString() == "HIS_ID")
{
//Skip First Record
}

else if (Convert.ToDouble(twton.ToString()) > 0)
{

var bsicodex = bsicode.ToString();
var fnamex = fname.ToString();
var t_w_tonx = twton.ToString();
var y_d_tonx = ydton.ToString();
var w_k_endx = wkend.ToString();
var locx = "";
var b_namex = "";
var a_namex = "";
var fuel_ratex = "";

using (simisdbEntities db = new simisdbEntities())
{
var getdata = db.GetFuelRatesByBsiCode(3, bsicodex); // Get the current crop year




foreach (var z in getdata)
{

locx = z.LOC;
b_namex = z.B_NAME;
a_namex = z.AREA;
fuel_ratex = z.FUELRATE.ToString();



}

}

var paymentx = "70.00";//need to Calculate
var hun_figx = "";
var ten_figx = "";
var one_figx = "";
var hundredx = "";
var teenx = "";
var tenx = "";
var onex = "";
var wordsx = "";
var authorithyx = "";
var thoufigx = "";
var thousandx = "";
var newratex = 1.19 * 6; //Need to Calculate
var snx = 1234; //Need to autogenerate can Be Primary Key
var licx = "";
var deallocx = "";
var feex = 1.3 * 34; //Need to Calculate
writer.AddRecord(bsicodex, fnamex, t_w_tonx, y_d_tonx, w_k_endx, locx, b_namex, a_namex, fuel_ratex.ToString(), paymentx, hun_figx, ten_figx, one_figx, hundredx, teenx, tenx, onex, wordsx, authorithyx, thoufigx, thousandx, newratex.ToString(), snx, licx, deallocx, feex.ToString());

}

}
writer.Write(fos);

}

}
}









share|improve this question























  • Have you tried casting the value as a double after to get it? var bsicode = (double)rdr[0]; or something of the sort? (Obviously insert that wherever you're wanting to have the cast/conversion take place)

    – Symon
    Jan 2 at 16:42













  • The DBFFIELD last two parameters are size and start columns. Why do they all start in columns 0 and 5?

    – jdweng
    Jan 2 at 17:18











  • I figured it out here: elitecsoft.com/programming/c/…

    – ivias
    Jan 4 at 23:42














1












1








1








The code below is tested and writes a dbf file but the values are strings because i cannot seem to initialize or convert the values to doubles or floats before writing to the file. Can anyone assist and see how for example the first variable(bsi_code) can be written as a double or float? Is it okay to declare the headers as var....how to then convert and add this record as a float or double.



private void GetWeeklyDeliveries()
{
string FilePath = textBox1.Text;
using (var fileStream = new FileStream(FilePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
using (var rdr = ExcelReaderFactory.CreateReader(fileStream))
{
using (Stream fos = File.Open(@"C:FuelZINVOW.dbf", FileMode.OpenOrCreate, FileAccess.ReadWrite))
{
//Create New File or Open New File.
var writer = new DBFWriter();
var bsi_code = new DBFField("HIS_ID", NativeDbType.Char, 25, 0);
var f_name = new DBFField("FNAME", NativeDbType.Char, 50, 0);
var t_w_ton = new DBFField("T_W_TON", NativeDbType.Char, 25, 0);
var y_d_ton = new DBFField("Y_D_TON", NativeDbType.Char, 25, 0);
var w_k_end = new DBFField("WKEND", NativeDbType.Char, 25, 0);
var loc = new DBFField("LOC", NativeDbType.Char, 20, 0);
var b_name = new DBFField("B_NAME", NativeDbType.Char, 50, 0);
var a_name = new DBFField("A_NAME", NativeDbType.Char, 50, 0);
var fuel_rate = new DBFField("FUELRATE", NativeDbType.Numeric, 25, 5);
var payment = new DBFField("PAYMENT", NativeDbType.Numeric, 25, 5);
var hun_fig = new DBFField("HUNFIG", NativeDbType.Char, 12, 0);
var ten_fig = new DBFField("TENFIG", NativeDbType.Char, 12, 0);
var one_fig = new DBFField("ONEFIG", NativeDbType.Char, 12, 0);
var hundred = new DBFField("HUNDRED", NativeDbType.Char, 12, 0);
var teen = new DBFField("TEEN", NativeDbType.Char, 12, 0);
var ten = new DBFField("TEN", NativeDbType.Char, 12, 0);
var one = new DBFField("ONE", NativeDbType.Char, 12, 0);
var words = new DBFField("WORDS", NativeDbType.Char, 50, 0);
var authority = new DBFField("AUTHORITY", NativeDbType.Char, 12, 0);
var thoufig = new DBFField("THOUFIG", NativeDbType.Char, 12, 0);
var thousand = new DBFField("THOUSAND", NativeDbType.Char, 12, 0);
var newrate = new DBFField("NEWRATE", NativeDbType.Numeric, 25, 5);
var sn = new DBFField("SN", NativeDbType.Numeric, 25, 0);
var lic = new DBFField("LIC", NativeDbType.Char, 12, 0);
var dealloc = new DBFField("DELALOC", NativeDbType.Char, 12, 0);
var fee = new DBFField("FEE", NativeDbType.Numeric, 12, 5);

writer.Fields = new { bsi_code, f_name, t_w_ton, y_d_ton, w_k_end, loc, b_name, a_name, fuel_rate, payment, hun_fig, ten_fig, one_fig, hundred, teen, ten, one, words, authority, thoufig, thousand, newrate, sn, lic, dealloc, fee };

while (rdr.Read())
{//Begin Reading Delivery File (XLS)

var bsicode = rdr[0];
var fname = rdr[1];
var twton = rdr[2];
var ydton = rdr[3];
var wkend = rdr[4];


if (bsicode.ToString() == "HIS_ID")
{
//Skip First Record
}

else if (Convert.ToDouble(twton.ToString()) > 0)
{

var bsicodex = bsicode.ToString();
var fnamex = fname.ToString();
var t_w_tonx = twton.ToString();
var y_d_tonx = ydton.ToString();
var w_k_endx = wkend.ToString();
var locx = "";
var b_namex = "";
var a_namex = "";
var fuel_ratex = "";

using (simisdbEntities db = new simisdbEntities())
{
var getdata = db.GetFuelRatesByBsiCode(3, bsicodex); // Get the current crop year




foreach (var z in getdata)
{

locx = z.LOC;
b_namex = z.B_NAME;
a_namex = z.AREA;
fuel_ratex = z.FUELRATE.ToString();



}

}

var paymentx = "70.00";//need to Calculate
var hun_figx = "";
var ten_figx = "";
var one_figx = "";
var hundredx = "";
var teenx = "";
var tenx = "";
var onex = "";
var wordsx = "";
var authorithyx = "";
var thoufigx = "";
var thousandx = "";
var newratex = 1.19 * 6; //Need to Calculate
var snx = 1234; //Need to autogenerate can Be Primary Key
var licx = "";
var deallocx = "";
var feex = 1.3 * 34; //Need to Calculate
writer.AddRecord(bsicodex, fnamex, t_w_tonx, y_d_tonx, w_k_endx, locx, b_namex, a_namex, fuel_ratex.ToString(), paymentx, hun_figx, ten_figx, one_figx, hundredx, teenx, tenx, onex, wordsx, authorithyx, thoufigx, thousandx, newratex.ToString(), snx, licx, deallocx, feex.ToString());

}

}
writer.Write(fos);

}

}
}









share|improve this question














The code below is tested and writes a dbf file but the values are strings because i cannot seem to initialize or convert the values to doubles or floats before writing to the file. Can anyone assist and see how for example the first variable(bsi_code) can be written as a double or float? Is it okay to declare the headers as var....how to then convert and add this record as a float or double.



private void GetWeeklyDeliveries()
{
string FilePath = textBox1.Text;
using (var fileStream = new FileStream(FilePath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
using (var rdr = ExcelReaderFactory.CreateReader(fileStream))
{
using (Stream fos = File.Open(@"C:FuelZINVOW.dbf", FileMode.OpenOrCreate, FileAccess.ReadWrite))
{
//Create New File or Open New File.
var writer = new DBFWriter();
var bsi_code = new DBFField("HIS_ID", NativeDbType.Char, 25, 0);
var f_name = new DBFField("FNAME", NativeDbType.Char, 50, 0);
var t_w_ton = new DBFField("T_W_TON", NativeDbType.Char, 25, 0);
var y_d_ton = new DBFField("Y_D_TON", NativeDbType.Char, 25, 0);
var w_k_end = new DBFField("WKEND", NativeDbType.Char, 25, 0);
var loc = new DBFField("LOC", NativeDbType.Char, 20, 0);
var b_name = new DBFField("B_NAME", NativeDbType.Char, 50, 0);
var a_name = new DBFField("A_NAME", NativeDbType.Char, 50, 0);
var fuel_rate = new DBFField("FUELRATE", NativeDbType.Numeric, 25, 5);
var payment = new DBFField("PAYMENT", NativeDbType.Numeric, 25, 5);
var hun_fig = new DBFField("HUNFIG", NativeDbType.Char, 12, 0);
var ten_fig = new DBFField("TENFIG", NativeDbType.Char, 12, 0);
var one_fig = new DBFField("ONEFIG", NativeDbType.Char, 12, 0);
var hundred = new DBFField("HUNDRED", NativeDbType.Char, 12, 0);
var teen = new DBFField("TEEN", NativeDbType.Char, 12, 0);
var ten = new DBFField("TEN", NativeDbType.Char, 12, 0);
var one = new DBFField("ONE", NativeDbType.Char, 12, 0);
var words = new DBFField("WORDS", NativeDbType.Char, 50, 0);
var authority = new DBFField("AUTHORITY", NativeDbType.Char, 12, 0);
var thoufig = new DBFField("THOUFIG", NativeDbType.Char, 12, 0);
var thousand = new DBFField("THOUSAND", NativeDbType.Char, 12, 0);
var newrate = new DBFField("NEWRATE", NativeDbType.Numeric, 25, 5);
var sn = new DBFField("SN", NativeDbType.Numeric, 25, 0);
var lic = new DBFField("LIC", NativeDbType.Char, 12, 0);
var dealloc = new DBFField("DELALOC", NativeDbType.Char, 12, 0);
var fee = new DBFField("FEE", NativeDbType.Numeric, 12, 5);

writer.Fields = new { bsi_code, f_name, t_w_ton, y_d_ton, w_k_end, loc, b_name, a_name, fuel_rate, payment, hun_fig, ten_fig, one_fig, hundred, teen, ten, one, words, authority, thoufig, thousand, newrate, sn, lic, dealloc, fee };

while (rdr.Read())
{//Begin Reading Delivery File (XLS)

var bsicode = rdr[0];
var fname = rdr[1];
var twton = rdr[2];
var ydton = rdr[3];
var wkend = rdr[4];


if (bsicode.ToString() == "HIS_ID")
{
//Skip First Record
}

else if (Convert.ToDouble(twton.ToString()) > 0)
{

var bsicodex = bsicode.ToString();
var fnamex = fname.ToString();
var t_w_tonx = twton.ToString();
var y_d_tonx = ydton.ToString();
var w_k_endx = wkend.ToString();
var locx = "";
var b_namex = "";
var a_namex = "";
var fuel_ratex = "";

using (simisdbEntities db = new simisdbEntities())
{
var getdata = db.GetFuelRatesByBsiCode(3, bsicodex); // Get the current crop year




foreach (var z in getdata)
{

locx = z.LOC;
b_namex = z.B_NAME;
a_namex = z.AREA;
fuel_ratex = z.FUELRATE.ToString();



}

}

var paymentx = "70.00";//need to Calculate
var hun_figx = "";
var ten_figx = "";
var one_figx = "";
var hundredx = "";
var teenx = "";
var tenx = "";
var onex = "";
var wordsx = "";
var authorithyx = "";
var thoufigx = "";
var thousandx = "";
var newratex = 1.19 * 6; //Need to Calculate
var snx = 1234; //Need to autogenerate can Be Primary Key
var licx = "";
var deallocx = "";
var feex = 1.3 * 34; //Need to Calculate
writer.AddRecord(bsicodex, fnamex, t_w_tonx, y_d_tonx, w_k_endx, locx, b_namex, a_namex, fuel_ratex.ToString(), paymentx, hun_figx, ten_figx, one_figx, hundredx, teenx, tenx, onex, wordsx, authorithyx, thoufigx, thousandx, newratex.ToString(), snx, licx, deallocx, feex.ToString());

}

}
writer.Write(fos);

}

}
}






c# excel filestream excel-reader






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 2 at 16:20









iviasivias

971112




971112













  • Have you tried casting the value as a double after to get it? var bsicode = (double)rdr[0]; or something of the sort? (Obviously insert that wherever you're wanting to have the cast/conversion take place)

    – Symon
    Jan 2 at 16:42













  • The DBFFIELD last two parameters are size and start columns. Why do they all start in columns 0 and 5?

    – jdweng
    Jan 2 at 17:18











  • I figured it out here: elitecsoft.com/programming/c/…

    – ivias
    Jan 4 at 23:42



















  • Have you tried casting the value as a double after to get it? var bsicode = (double)rdr[0]; or something of the sort? (Obviously insert that wherever you're wanting to have the cast/conversion take place)

    – Symon
    Jan 2 at 16:42













  • The DBFFIELD last two parameters are size and start columns. Why do they all start in columns 0 and 5?

    – jdweng
    Jan 2 at 17:18











  • I figured it out here: elitecsoft.com/programming/c/…

    – ivias
    Jan 4 at 23:42

















Have you tried casting the value as a double after to get it? var bsicode = (double)rdr[0]; or something of the sort? (Obviously insert that wherever you're wanting to have the cast/conversion take place)

– Symon
Jan 2 at 16:42







Have you tried casting the value as a double after to get it? var bsicode = (double)rdr[0]; or something of the sort? (Obviously insert that wherever you're wanting to have the cast/conversion take place)

– Symon
Jan 2 at 16:42















The DBFFIELD last two parameters are size and start columns. Why do they all start in columns 0 and 5?

– jdweng
Jan 2 at 17:18





The DBFFIELD last two parameters are size and start columns. Why do they all start in columns 0 and 5?

– jdweng
Jan 2 at 17:18













I figured it out here: elitecsoft.com/programming/c/…

– ivias
Jan 4 at 23:42





I figured it out here: elitecsoft.com/programming/c/…

– ivias
Jan 4 at 23:42












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54009710%2fneed-to-write-numeric-values-in-dbf-file-using-excelreaderfactory%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54009710%2fneed-to-write-numeric-values-in-dbf-file-using-excelreaderfactory%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas