I have created a windows application. I have some html files created locally, I am able to read the entire file in textbox, but not able to save the html code in database
For eg:- below is the html code I want to save in sqlite database. I tried to save using string array also but no success..
Thanks in Advance. .....!!!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Generic Functions</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function() {
- $('#btn1').click(function() {
- // alert("Button 1 clicked.");
- if (ObjectExists("mytxt1")) {
- console.log("inside if con");
- alert("Textbox exists");
- $("#mytxt1").val("NA");
- alert("Button 1 clicked.");
- }
- });
- $('#btn2').click(function() {
- alert("Button 2 clicked.");
- });
- $('#btn3').click(function() {
- alert("Button 3 clicked.");
- });
- });
- //document.getElementById("btn2").focus();
- </script>
- </head>
- <body>
- <h2>General Page</h2>
- <div>
- <button id="btn1">Button 1</button>
- <button id="btn2">Button 2</button>
- <button id="btn3">Button 3</button>
- </div>
- <div id="site">
- <input type="text" id="mytxt1">
- <input type="text" id="mytxt2">
- <input type="text" id="mytxt2">
- <input type="text" id="mytxt4">
- </div>
- <div id="number">
- <input type="radio" id="rb1">Yes
- <input type="radio" id="rb2">No
- <input type="radio" id="rb3">Not Sure
- <input type="radio" id="rb4">Good
- </div>
- </body>
- </html>