tôi nhận được lỗiXử lý khoản đòi hỏi một biến WithEvents định nghĩa trong các loại có chứa hoặc một trong các loại cơ sở của nó
Handles clause requires a WithEvents variable defined in the containing type or one of its base types.
trong đoạn mã sau ..
Public Sub selCurrentManuf_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles selCurrentManuf.SelectedIndexChanged
End Sub
Danh sách thả để đi với nó được sau ...
<asp:DropDownList
OnSelectedIndexChanged="selCurrentManuf_SelectedIndexChanged"
selectedvalue='<%#Container.DataItem("c1_manufidcurrent")%>'
ID="selCurrentManuf"
Runat="Server"
DataTextField="c4_Desc"
DataValueField="c4_manufid"
DataSource="<%# GetCurrentManuf() %>"
autopostback="true"
></asp:DropDownList>
Không có lỗi ... –
của nó trong tiêu đề tôi Shull đăng nó trong câu hỏi cũng – Beginner
phiên bản của .NET Framework (là gì ASP.NET)? – adatapost