Link to home
Start Free TrialLog in
Avatar of Seven price
Seven priceFlag for United States of America

asked on

return validation

I have 4 tabs in a infragistics tab. if there is no data then the tab returns 0 rows and the tab is not enabled.

example

 If Not sqlDR.Fill(ds) = Nothing Then
            Me.SecondTab.Tabs(2).Enabled = True
            SecondTab.SelectedIndex = "2"
        ElseIf sqlDR.Fill(ds) = Nothing Then
            Me.SecondTab.Tabs(2).Enabled = False

        End If

how can I return a message if all 4 tabs are enabled = true

I used a label but seems not to be working, and this happens onload
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Which page event is this code executed (e.g. page_load)
ASKER CERTIFIED SOLUTION
Avatar of srikanthreddyn143
srikanthreddyn143

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of srikanthreddyn143
srikanthreddyn143

Above code is just an idea and is for windows forms.
Avatar of Seven price

ASKER

tks