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.
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?
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
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.
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
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
285 Points
999 Posts
to create the testimonial html page in Visual studio code
Mar 18, 2019 09:46 PM|polachan|LINK
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
All-Star
43761 Points
18730 Posts
Re: to create the testimonial html page in Visual studio code
Mar 18, 2019 10:40 PM|mgebhard|LINK
The code is no different than Visual Studio. Can you share your code?
Contributor
2100 Points
705 Posts
Re: to create the testimonial html page in Visual studio code
Mar 19, 2019 05:51 AM|Jenifer Jiang|LINK
Hi polachan,
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
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
285 Points
999 Posts
Re: to create the testimonial html page in Visual studio code
Mar 19, 2019 06:59 AM|polachan|LINK
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
Contributor
2100 Points
705 Posts
Re: to create the testimonial html page in Visual studio code
Mar 19, 2019 08:53 AM|Jenifer Jiang|LINK
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
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.