one thing! I need four fields of 7 fields in each line, in my code from original csv file first four of fields choose(mappping these fields with columns of table in db) for example: a line in csv file: "a","b","c","d","e","f","g" in table of database 4 column : name,ext,tel,date that 4 field of csv file must map to these column then I can't directly import my csv file into db. some process must do to insert just my selected fields of csv file... Thanks, Shahrzad