locked
to create the testimonial html page in Visual studio code RRS feed

  • Question

  • User-1355965324 posted

    Please anyone can help me how can create a simple html page to create testimonial page in visual studio code. I have to insert the each testimonial in to sqltable. Please can you help me how to insert into sql table from html page in vscode.

    Regards

    Pol

    Monday, March 18, 2019 9:46 PM

Answers

All replies

  • User475983607 posted

    Please anyone can help me how can create a simple html page to create testimonial page in visual studio code. I have to insert the each testimonial in to sqltable. Please can you help me how to insert into sql table from html page in vscode.

    The code is no different than Visual Studio.  Can you share your code?

    Monday, March 18, 2019 10:40 PM
  • User839733648 posted

    Hi polachan,

    I have to insert the each testimonial in to sqltable. Please can you help me how to insert into sql table from html page in vscode.

    Have you tried to write some code to achieve your requirement? Could you share?

    I'm confused that what the testimonial is. And could you describe more in details?

    Besides, about Visual Studio Code, I suggest that you could refer to the official documentation.

    https://code.visualstudio.com/docs/getstarted/tips-and-tricks

    Best Regards,

    Jenifer

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 19, 2019 5:51 AM
  • User-1355965324 posted

    We have already an html file. There is the space allocated <div> tag to add  the comment by the login user and the comment have to be inserted  to the database. It is very simple project so I want to use Visual studio code to make it. But I have never used Visual studio code with database connection.  

    Can we create controller , Model  in VS code ?

    Many thanks for your help 

    Tuesday, March 19, 2019 6:59 AM
  • User839733648 posted

    If you just want to operate the database, I suggest that you could refer to this link: https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-develop-use-vscode?view=sql-server-2017

    If you want to operate the html page connected to the database, there are several steps you need to do.

    I suggst that you should create a new project using ASP.NET Core web app(MVC) framework.

    Then you have to use EntityFramework to connect the database to the html page.

    For more in details, you could refer to the official documentation.

    https://code.visualstudio.com/docs/languages/csharp

    https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/?view=aspnetcore-2.2

    Besides, in my opinion, if you want to create a simple page connected to database, Visual Studio is a better choice.

    Because when you use VS code, you have to configer so many things while you do not need do in Visual Studio.

    Best Regards,

    Jenifer

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 19, 2019 8:53 AM