DNA fragments are :
Positively charged
Negatively charged
Neutral
Either positively or negatively charged depending on their size
The DNA molecule is negatively charged due to phosphate group in their sugar-phosphate backbone, so they get attracted to the positive pole.