摘要:ASP.NET 2.0中新增加了2个很实用的属性和方法:SetFocus()用来将光标聚焦到某个页面控件上<%@pagelanguage="C#"%><scriptrunat="server">voidPage_Init(objectsender,EventArgse){SetFocus(focusHere);}</script><html><...
阅读全文
posted @ 2006-02-17 16:22
|
|||
02 2006 档案
摘要:ASP.NET 2.0中新增加了2个很实用的属性和方法:SetFocus()用来将光标聚焦到某个页面控件上<%@pagelanguage="C#"%><scriptrunat="server">voidPage_Init(objectsender,EventArgse){SetFocus(focusHere);}</script><html><...
阅读全文
posted @ 2006-02-17 16:22
摘要:最近在准备70-315考试时遇到这样一道问题:You are creating an ASP.NET accounting application that stores and manipulates data in aMicrosoft SQL Server database named TestKingSrv. One of the pages in the application will...
阅读全文
posted @ 2006-02-17 14:56
摘要:问题如题我尝试了下列方法,在页面程序中加入:1protectedoverridevoidOnInit(EventArgse)2{3base.OnInit(e);4Page.Form.DefaultButton="btnSearch";5}但是页面提示错误,宣告失败The DefaultButton of 'form1' must be the ID of a control of type IBu...
阅读全文
posted @ 2006-02-16 10:39
|
|||