Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
- I have c# windows application....

- I need to perform and update on database using a javascript function that resides on the server.
here's the link to the .js file
http://184.169.180.61:9000/javascripts/healthfleet_api.js

- I need to invoke the function (see the .js file)
this.updateProfileCardioChek = function(profile)

- I have all the data to send, but do not know how to.

Please do not ask about the scenario and why not a web client, and why not REST etc.

I know it can be done because java developers do such things. I don't know how to do it in c#.

Please, please, someone help!
Posted
Comments
Sergey Alexandrovich Kryukov 13-Jun-13 14:16pm    
Why?!.. Use C# and ADO.NET.
—SA
Anurag Sinha V 13-Jun-13 14:45pm    
Call a server side code in your Javascript function via AJAX and in the server side code, write code for updation of the Db.
Anurag Sinha V 13-Jun-13 14:49pm    
http://www.dotnetcurry.com/ShowArticle.aspx?ID=109
the above link might help...hv a look

-anurag

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