1

I'm using visual studio 2005 with vb.net. I have a little problem with a drop down menu in my aspx.

This is the connection and query code:

<asp:SqlDataSource ID="OraCboPro" runat="server" ConnectionString="<%$ ConnectionStrings:MyORACLECON %>"
            ProviderName="<%$ ConnectionStrings:MyORACLECON.ProviderName %>" 
            SelectCommand=" select distinct PROPINSI from cs_site_lang_kdpos_v  where kodecab = '(my variabel)' ">

The query requires a value from a session variable from aspx.vb or a global variable in my JavaScript in my aspx. How can i do pass this in to the query?

1 Answer 1

1

Try this on drop down menu:

DropDownList ddl = (DropDownList)Login1.LoginView.FindControl("ddlDomain");
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.