Caenorhabditis elegans (C. elegans) has been widely used as a model organism for biomedical research due to its sufficient homology with human at molecular or genomic level. In this work, we describe a microfluidic device not only to investigate the response of C. elegans including lifespan and oxidative stress, but also to evaluate the protective effect of polydatin induced by high-glucose condition. It was found that the mean lifespan of worms was significantly reduced and the oxidative stress protein GST-4 was increased in worms that are subjected to high glucose. However, a certain dose of polydatin could weaken the increased oxidative stress induced by high-glucose and extend the lifespan, indicating the protective effect of polydatin against the toxic of high-glucose. The established approach is simple to operate, easy for realtime imaging and multiparatemer evaluations in parallel, providing a potential platform for drug evaluation/screening in a high throughput format at single animal resolution.