摘要: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.W... 阅读全文
posted @ 2008-05-26 14:54 ChoiceShan 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 1. 在webpart中添加控件 举例说明: a> 首先声明控件: LinkButton btnFirst; b> 添加代码: 在函数protected override void CreateChildControls()里添加如下代码 btnFirst = new LinkButton(); btnFirst.Text =... 阅读全文
posted @ 2008-05-26 10:51 ChoiceShan 阅读(205) 评论(0) 推荐(0) 编辑