< script language ="javascript" > ... function linkto(id)...{ window.location.href='updatejob.aspx?id='+id;} </ script > < input type ="button" ID ="update" onclick ="javascript:linkto(<%#Eval(" id")% > )" runat="server" value="编辑" style="border-width:0px" /> < input type ="button" id ="update" onclick ='<%# "window.location.href ="update.aspx?id=" + Eval("au_id").ToString() + "";" % > ' runat="server" value="编辑" style="border-width:0px" />