Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET Javascript , +
Hello friends,
How can we save a data, which is inside javascript, to the database at a page that was done by Asp.NET (when page is refreshed, closed or changed to another page)?
Posted 10-Dec-12 4:02am
aspnet_regiis -i at 10-Dec-12 9:10am
Assign the values from the javascript to the hidden field server controls and then save to database
ryanb31 at 10-Dec-12 10:52am
Or, call a webservice. jquery's ajax call.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

u can use webservice or webmethod...

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

  Print Answers RSS
0 OriginalGriff 295
1 DamithSL 295
2 Sergey Alexandrovich Kryukov 197
3 Peter Leow 155
4 Afzaal Ahmad Zeeshan 154
0 OriginalGriff 7,510
1 DamithSL 5,494
2 Sergey Alexandrovich Kryukov 4,954
3 Maciej Los 4,936
4 Kornfeld Eliyahu Peter 4,514

Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100