No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have an aspx page, which retrieves data from a table, I have Update, Delete, Cancel buttons. Update works, Cancel works, but Delete does not work, I get error: Must declare the scalar variable "@UID". My code looks like this: [code=vb] <asp:SqlDataSource ID="sdsDetail" runat="server" ConnectionString="<%$ ConnectionStrings:myConnectionString%>" DeleteCommand="DELETE FROM [table] WHERE … |
|
well, tried using multiview.activeindex, does not work, tried using control.visible, does not work, here is my problem: I have a dropdownlist with 4 items, by selecting a value, it should show me 4 different controls: selected index 1: listbox1 - binds data to field A in table 1, but list … |
|
I have a multiview inside a form view. The multiview active index is based on a dropdownlist selection, I found out that I need to put this line somewhere: [code=vb] <script runat="server"> Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) MultiView2.ActiveViewIndex = DropDownList1.SelectedValue End Sub </script> [/code] My … |