?
Solved

vb.net

Posted on 2003-02-27
4
Medium Priority
?
164 Views
Last Modified: 2010-04-17
i have a web form and i want the user to enter a text in some control and i want to save this text in a database. the problem is that i want to save the format of the text also. i have seen a software where they change the text to html and save the html in the database. Any idea of how to do this?
0
Comment
Question by:razo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Expert Comment

by:HugoCode
ID: 8032694
If you use a textbox control, you can add a <font> tag before and after its text value, and set the properties of the font tag to the font properties of the control.
Store the whole thing in your db ( "<font color=black ...>" + textbox1.text + "</font>" )

Hope that helps,
Hugocode
0
 
LVL 8

Author Comment

by:razo
ID: 8267460
i want a refund for this question because i was able to solve it using a free control i downloaded from the internet called webpad. Webpad takes care of the format when the the text is saved to the database.
0
 

Expert Comment

by:SpideyMod
ID: 8270364
A request for a refund has been made.  Experts you have 72 hours to object.

SpideyMod
Community Support Moderator @Experts Exchange
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8292791
PAQ'd and all 100 points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Simple Linear Regression
Introduction to Processes
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question