L
Lee Moore
I am trying to figure out how to handle it when I have an empty dataset
bound to a gridview. I can use the footer when there is data bound to it,
but I cannot figure out how to access controls that I define within the
emptydatatemplate tag. I have tried to access the controls at the form level
with something like this...
Dim TB as TextBox
TB = Form1.FindControl("MyTextBox")
Then using TB.Value elsewhere, but no dice. Any help would be appreciated.
bound to a gridview. I can use the footer when there is data bound to it,
but I cannot figure out how to access controls that I define within the
emptydatatemplate tag. I have tried to access the controls at the form level
with something like this...
Dim TB as TextBox
TB = Form1.FindControl("MyTextBox")
Then using TB.Value elsewhere, but no dice. Any help would be appreciated.