技术,思考的艺术

ASP.net ,C#,VB.NET,SQL + B2B,SCM,CRM,ERP
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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 1werwerfer 阅读(1794) 评论(3) 推荐(0)

摘要:最近在准备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 1werwerfer 阅读(884) 评论(0) 推荐(0)

摘要:问题如题我尝试了下列方法,在页面程序中加入: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 1werwerfer 阅读(1250) 评论(3) 推荐(0)