<a href="javascript:window.open('yourpage.aspx?did=<%# Eval("db_column")%>&fun=2',null, 'height=650, width=500, status=yes, toolbar=no, menubar=no, location=no,scrollbar=yes'); void('');"> View</a> </ItemTemplate>
put this on a linkbutton itemtemplate