change textbox property autopostback=true...

-- 
--~--~---------~--~----~
MANISH LANGA
--~--~---------~--~----~

On Sun, Jan 10, 2010 at 10:21 PM, 50cal <[email protected]> wrote:

> Hi All,
>
> I am creating a very basic contact manager to get me started
> developing in C#, I have created the form and a class call classfield
> that builds a text box and stores all the relevant information, such
> as the name and text etc.
> The field is then added to the form. I can navigate dummy records and
> load the relevant data into the field but I am not sure how to detect
> a text change to right the data back to the database.
>
> I though I could just add a text changed event to the class (like
> below) but it does not appear to be working.
>
>        public void mytextbox_TextChanged(object sender, EventArgs e)
>        {
>            MessageBox.Show("mytextbox changed");
>            mytextbox.Text = "TESTING!!!";
>        }
>
>
> Any advice would be appreciated!!
>
> Thanks,
> 50Cal.
>

Reply via email to