My problem is that everytime the DataRow tries to write in the DataTable a NullReferenceEx eption occurs (Object reference not set to an instance of an object)
can anyone spot the problem
Code:
DBConnection myConn = new DBConnection();
DateTime today = DateTime.Today;
int bottleID;
DataTable cart = new DataTable("MyShoppingCart");
DataColumn DC1;
DataColumn DC2;