DBNull check of lastinsertid