I am using Visual Studio 2010, asp.net, C# and SQL Server.
1. I have a webforms with the following Text Field ID: PersonID, FavFood, FavDrink
2. I have an mdf file, titled Test.MDF
3. The table to record the data called "participant" with the following column name:
4. I want an ajax to perform the following:
a. when the user key in 555 in personID textfield at 5:06pm 23 January 2012, it will record the data automatically in the participant table
(PID = 555, QuID=null, Data= null, TimeEntered="23 January 2012 5:06pm" without refreshing the whole page / page load.
b. when the user key in "fried Chicken" in Favfood textfield, it will record the data automatically in the participant table at 23 January 2012 5:07 pm
(PID=555, QuID=FavFood, Data=fried Chicken, TimeEntered="23 January 2012 5:07pm"without
refershing the whole page/ page load.
c. when the user key in "Coca Cola" in FavDrink textfield, it will record the data automatically in the participant table at 23 January 2012 5:10 pm
(PID=555, QuID=FavDrink, Data=Coca Cola, TimeEntered="23 January 2012 5:10pm" without refershing the whole
page/ page load.
In real life, I have 100 textfield to be automatically recorded, therefore I can't refresh/ reload the whole page once every textfield data is changed. It will waste too
much time. I heard ajax should be able to fix this. Can someone please help how to do it? Thanks in advanced.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.