Click here to Skip to main content
15,901,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
working on 1 web application using c# and database sql2008. on one of my webform i want to add the data from databse on textbox change event, its getting very slow and also data is not getting add in list box while onchange event please suggest me how should i do it say i ahve 1 materialmaster table having fields Materialidm materialname.
Posted

1 solution

Try

C#
private void textBox1_TextChanged(object sender, EventArgs e)
    {
           // Step 1 Save data to database
           // Step 2 Query the database to get newly added data
           // Step 3 Re bind listbox with newly filled object.
    }


Regards,
T
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900