<script> return confirm('确定要删除<%# DataBinder.Eval(Container.DataItem,"username")%>吗?');</script>
大致思路是这样,如果行不通再变通一下。