object reference not set

  1. C

    Question Error in add, update, delete

    My code is as follows but in runtime throws an error "Object reference not set to an instance of the object" when trying to update, delete and/or insert--pls help My DB is in Access Imports System.Data.OleDb Imports System.Xml PublicClass Employee Dim con As OleDbConnection Dim cmd As...