insert data into table
			- ID: identifier of the updated value
			- list_value_pairs: contains the table field ID and the according value
			- list_SQLCMD_pairs: contains the table field ID and a SQL command

def insertData(self, tablename, list_value_pairs, list_SQLCMD_pairs=None):
		"""insert data into table
			- ID: identifier of the updated value
			- list_value_pairs: contains the table field ID and the according value
			- list_SQLCMD_pairs: contains the table field ID and a SQL command
			"""
		
		fields = self._getFieldsInDB(tablename)
		
		lst_field = []
		lst_value = []
		
		# normal field-value-pairs
		for pair in list_value_pairs:
			if pair[0] in fields:
				lst_field.append( pair[0] )
				lst_value.append( '"%s"' % pair[1] )
			else:
				print "err: field %s can't be found in the table" % pair[0]
				return False
			
		# field-SQL-command-pairs: the only difference is the missing double quotes in the SQL command
		if list_SQLCMD_pairs != None:
			for pair in list_SQLCMD_pairs:
				if pair[0] in fields:
					lst_field.append( pair[0] )
					lst_value.append( pair[1] )
				else:
					print "err: field %s can't be found in the table" % pair[0]
					return False
				
		# build the command
		SQL = 'INSERT INTO %s (%s) VALUES (%s)' % ( tablename, join(lst_field, ','), join(lst_value, ',') )
		self.execQuery( SQL )
		
		return True