We help IT Professionals succeed at work.

Textbox feeding from database without refresh

Arcantps asked
Medium Priority
Last Modified: 2012-08-13

I have come across a small problem,

I would like to know how to insert data into a textbox by getting data from a database either using mysql or SQL Server or even getting data from a text file.

With a javascript interval were it will get connection and run code and insert in to the textbox, (around every 3 / 5 seconds) giving the impression of real time without the whole page refreshing or using iframe's (basically no visible refresh).

I believe I can do this using javascript along with aspx but unsure how to.

I have quite a bit of aspx knowledge along with lots of knowledge of javascript, asp and php along with SQL scripting (including MYSQL).

Any help at all on this matter will be greatly appreciated.
Watch Question

This sounds like you are wanting to implement an AJAX solution.  I've never done this myself, but I believe microsoft was coming out with ATLAS, which I believe is what you are looking for.  Otherwise a google search on AJAX and ASP.NET should give you the examples you are looking for.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts



Thanks for suggesting Atlas, in the past few weeks I have been researching and developing a web site with asp.net and Atlas.

I find that atlas is the perfect solution for this situation.

Many Thanks

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.