Thank you very much! I have achieved my purpose.
By the way ,when I export shape file, how can I edit the table structure of shape file?
For example ,if the type of a filed is string, the default long of the filed is 254, how can I set the number to 20?