Hi Mike
If my understanding is correct, you are reading the data from a txt file locally, and now you want to save and read the data to/from a remote SQL database.
Normally the suggestion is to create a Windows Runtime Component by C# and then you will be able to use it in Javascript. In your custom HTML form, you could use javascript call a DB connection, and store the data in SQL server side.
This link is the example for you:
https://github.com/doo/SQLite3-WinRT. By using this library, you will be able to communite with a SQLite database. If my understanding is correct, this will help you for your issue.
Best Regards,
James He
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.