<% @ Page Language = " C# " AutoEventWireup = " true " CodeFile = " Default9.aspx.cs " Inherits = " Default9 " %> <! DOCTYPE html PUBLIC " -//W3C//DTD XHTML 1.0 Transitional//EN " " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd " > < html xmlns = " http://www.w3.org/1999/xhtml " > < head runat = " server " > < title > 无标题页 </ title > </ head > < body onkeyup = " if(event.keyCode==38||event.keyCode==40){chgRowIdx(event.keyCode);}else if(event.keyCode==13){setValue();} " > < form id = " form1 " runat = " server " > < div > < asp:TextBox ID = " TextBox1 " runat = " server " onfocus = " hideGv(false,true) " ></ asp:TextBox > < br /> < asp:GridView ID = " GridView1 " runat = " server " style = " visibility:hidden " > </ asp:GridView > </ div > </ form > < script type = " text/javascript " >