在CS里面的Page_Load事件添加:Form.DefaultButton = 默认按钮.UniqueID; 转载于:https://www.cnblogs.com/leakey/archive/2009/10/22/1587891.html