我爱Aspx >> Asp.Net >> 一个oncommand的问题会不会是private的问题呀?
第4楼. 由 truelove12 于 2007-6-27 23:50:33 发表
你的定义中需要有__theAlphalink_ItemCommand这个方法
第二,select方法不能是私有的,至少为protected
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<div><%#CType(Container.DataItem, people).people%><asp:Button ID="btnTest" runat="server" Text="text" CommandName="Filter" CommandArgument="<%#CType(Container.DataItem, people).people%>" OnCommand="FilterItemCmd" /></div>
</ItemTemplate>
</asp:Repeater>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Call run()
End If
End Sub
Private Sub run()
Repeater1.DataSource = createdatasource()
Repeater1.DataBind()
End Sub
Private Function createdatasource() As System.Collections.Generic.List(Of people)
Ҷƪл˵?
.NET 2003 使用MSCOMM[07-06]
某计算机里的outlook收到的邮件经..[07-06]
http://www.cube-y.com/大家看下..[07-06]
一个jcombox的事件问题[07-06]
请教 runtime.getruntime().exec..[06-12]
如何加载com文件?[06-12]
使用线程 -- ZT Microsoft.com[05-31]
COM+ Web 服务:通过复选框路由到..[05-28]
COM+ Web 服务:通过复选框路由到..[05-28]
COM+ Web 服务:通过复选框路由到..[05-28]
javascript判断CheckBoxList必须..[07-06]
现在的人啊,郁闷,散分[07-06]
求asp.net表格控件或解决方案,要..[07-06]
J2EE5中是否已不再需要spring+hi..[07-06]
xp里有域用户管理器,具体在哪,没..[07-06]
232口电压控制[07-06]
java怎么访问windows目录服务器A..[07-06]
关于asp+access网站访问速度的问..[07-06]
关于电源[07-06]
.NET 2003 使用MSCOMM[07-06]