我得到錯誤把手子句需要在包含類型或它的基類型
Handles clause requires a WithEvents variable defined in the containing type or one of its base types.
在下面的代碼
的一個所定義的WithEvents變量..
Public Sub selCurrentManuf_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles selCurrentManuf.SelectedIndexChanged
End Sub
下拉列表來配它下面...
<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>
沒有錯誤... –
它的標題我沙爾它張貼在問題解決也 – Beginner
什麼是.NET Framework的版本( ASP.NET)? – adatapost