是不是用户对象必须继承System.Web.UI.UserControl 如果继承 Microsoft.Web.UI.WebControls.TreeView 那应该是一个 Customer ControlTreeView本身是一个Customer Control. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 you can derive from any class as long as it is not sealed 那怎么做一个Customer Control继承了以后在web上又怎么用呢? TreeView可以作为你的用户控件的一个成员对象 如果我想直接用,而不是做为用户对象的一个成员对象.各位大虾,我刚刚接触ASP.NET,对于很多概念还不是很清楚,希望大家多多指教. seeAuthoring Custom Controlshttp://samples.gotdotnet.com/quickstart/aspplus/doc/webctrlauthoring.aspxone thing to remember is that you need to have a namespace for your Control http://chs.gotdotnet.com/quickstart/aspplus/doc/webctrlauthoring.aspx vs2005 GridView1 数据绑定,通过一个按钮,怎么把这行数据插入数据库?? 字符串替换 学asp.net,已看完了HTML+CSS,XML后想看ASP.NET,推荐书, sql语句问题 很晚了.在线等.帮帮忙 关于跳转到访问前 在线等:正则表达式问题,谢谢!!! 在asp.net中如何访问注册表? 一个关于取得页面ID的问题?(我也不清楚这叫页面ID还是叫页面句柄) 奇怪问题:sqldataadapter1预览数据->填充数据没有问题。 这个问题你会吗? 为何我的ButtonColumn不能执行指定的过程?(附代码) 关于crystal主细报表的问题
继承了以后在web上又怎么用呢?
各位大虾,我刚刚接触ASP.NET,对于很多概念还不是很清楚,希望大家多多指教.
Authoring Custom Controls
http://samples.gotdotnet.com/quickstart/aspplus/doc/webctrlauthoring.aspxone thing to remember is that you need to have a namespace for your Control