• λ我爱Aspx >> Asp.Net >> 一个oncommand的问题
  • 一个oncommand的问题

  • :aspxer  Դ:csdn  :2007-7-6 2:43:53  ؼ:com
  • Dim coll As New System.Collections.Generic.List(Of people)

    coll.Add(New people("asp.net"))

    coll.Add(New people("vb.net"))

    Return coll

    End Function

    Public Class people

    Private _people As String

    Public Property people() As String

    Get

    Return _people

    End Get

    Set(ByVal value As String)

    _people = value

    End Set

    End Property

    Sub New(ByVal peoplename As String)

    _people = peoplename

    End Sub

    End Class

    Protected Sub FilterItemCmd(ByVal sender As Object, ByVal e As CommandEventArgs)

    Response.Write(e.CommandArgument.ToString)

    End Sub

    Protected Sub Repeater1_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles Repeater1.ItemCommand

    Response.Write("行命令时触发每次执行")

    End Sub

    Ҷƪл˵?
  • һƪ两个超小问题,请大家看看?
    һƪjavascript判断CheckBoxList必须选中一个