I believe gvContacts.SelectedRow is not returning anything.
Maybe a possible workaround is to handle the OnLoad event with the
OnLoad attribute of the phone numbers gridview, and work your way out
instead of in to find if the row that contains it is selected.
-Mike Placentra II
On Sep 28, 1:45 pm, "David C" <dlch...@lifetimeinc.com> wrote:
> ...error "Object reference not set
> to an instance of an object" c on the first IF statement. Can someone
> advise? Code is below:
>
> ...
> Dim row As GridViewRow = gvContacts.SelectedRow
> ...
|