Link to home
Start Free TrialLog in
Avatar of Jess31
Jess31

asked on

vb.net / trigger function

using vb.net.
Is there a way to trigger a function when the number of rows in a data table is of a certain size or is 0 ? Like I want to call a method if the table has 0 rows.
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

You would have to hook into the OnDataBound event and also RowDeleted event.  

Fire the trigger from each of those.
>>data table is of a certain size
In addition to the previous comment look at when a row is added as well
ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

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