Advertisements

"dotnettester" <> wrote in message
news:...
> Hi,
>
> I have added some textbox dynamically and now trying to retrieve the
values
> posted on a 'save' event.
>
> when I try the following lines I get 'Object reference not set to an
> instance of an object.....'
>
> foreach(Control c in Parent.Controls) <--- line where I'm getting this
> {
> Response.Write ("<BR>" + c.GetType().ToString());
> }
>
> Any help?????

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!