G
Geek
Guys,
I need help with the FormView control. I have read alot of posts about
retrieval of data from child control but I am failing. for some reason.
I am trying to get the data so I can use the FormView to eit the data
and update I had to put the link buttons and everything. Everything is
working. And I can see the data in Textbox, but it is throwing an
exception to check for a null, and I know for sure it not null cos I am
binding the value to it. I am including the code that I am using to
retrieve value from fromview and this exapmple I have picked up by one
of the posts that actually discusses an issue. Can you please guide me
in this regard. Any Help will be appreciated. Thanks,
Dim some As New TextBox
some = CType(FormViewNotes.Row.FindControl("TxtBoxEdt1"),
TextBox)
' Response.Write(some.Text)
I need help with the FormView control. I have read alot of posts about
retrieval of data from child control but I am failing. for some reason.
I am trying to get the data so I can use the FormView to eit the data
and update I had to put the link buttons and everything. Everything is
working. And I can see the data in Textbox, but it is throwing an
exception to check for a null, and I know for sure it not null cos I am
binding the value to it. I am including the code that I am using to
retrieve value from fromview and this exapmple I have picked up by one
of the posts that actually discusses an issue. Can you please guide me
in this regard. Any Help will be appreciated. Thanks,
Dim some As New TextBox
some = CType(FormViewNotes.Row.FindControl("TxtBoxEdt1"),
TextBox)
' Response.Write(some.Text)