none
Absolute newbie question; can Visual Studio create a web page where formatted text can be stored in a database?

    Question

  • I am a newbie to Virtual Studio 2015 and am trying to create a simple web application that will take a field of formatted text, (new lines, carrier returns and such), place it in a MSSQL database and return the same formatted text.  So far I was able to find tutorials that allow me to create databases using SQL Server Management studio, link that to a web project in Visual Studio using ASP.NET and MVC processes, but all the data stored in the database and later displayed is unformatted.  I'm looking for 2 things;

    1. Can this be done?

    2. If it can, will someone point me to a tutorial where I can try it?

    I appreciate any help on this issue.

    Friday, January 20, 2017 10:36 PM

All replies

  • Hi friend,

    Welcome to MSDN forum.

    According to your description, I think it could be done, but it’s related to ASP.NET development which is working with a database, and this forum is for Visual Studio IDE.

    I found two tutorial articles for you below, I hope it’s helpful.

    This is about displaying Formatted Data in Web Pages:

     https://msdn.microsoft.com/en-us/library/3fs4k4w4.aspx?f=255&MSPPError=-2147217396

    And this one is an introduction to working with a database in ASP.NET:

    https://www.asp.net/web-pages/overview/data/5-working-with-data

    I hope it could helpful to you.  Please feel free to let me know if I misunderstood you.

    And I suggest you post your thread in this forum to get a professional answer:

    https://forums.asp.net/

    Best regards,

    Fletcher


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, January 23, 2017 7:03 AM
  • Fletcher,

    Thanks for the input.  I appreciate it.

    Monday, January 23, 2017 3:16 PM
  • Hi friend, 

    Please feel free to mark a reply that help resolve your doubts, which will be helpful to others who get the same issues as yours. Thank you for your cooperation and support :)

    Best regards, 

    Fletcher


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, January 25, 2017 3:19 PM