Writing datatable to database file, one record at a time in C#
- by Kevin
Hi! I want to write a C# program that will read a row from a datatable (named loadDT) and update a database file (named Forecasts.mdb).
My datatable looks like this (each day's value is a number representing kilowatts usage forecast):
Hour Day1 Day2 Day3 Day4 Day5 Day6 Day7
1 519 520 524 498 501 476 451
My database file…