using asp.vb how to work with returned query values RRS feed

  • Question

  • Hi, I do php and javascript etc..., Where I'm working now I have to do use vb code behind with asp pages.

    I've managed the sql connection and query just fine, but once I have the values, for some of them I need to do further sorting with if statements.

    In my SqlDataReader while section I have this value:

    PressType.Text = sdr(5).ToString()

    Which populates the field in the form just fine.

    I still need to add additional info on the form (mostly to checkbox) based on what that value is, AND I need it to do so without any button clicks or textfield functions.

    So I need to create a Protected sub of some sort, but i can't really find an example of this anywhere. Can someone direct me to how I can accomplish this?


    • Moved by Bill_Stewart Monday, May 7, 2018 10:06 PM Unanswerable drive-by question
    Wednesday, March 7, 2018 2:03 PM

All replies