• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 184
  • Last Modified:

Insert html data into mssql

I am trying to create a dynamic system for my content on my website and i want to be able to enter all the formating codes with the text in the form and use html codes for formating and submit it to the database, but when i do it doesnt like the html codes when i submit to the database (mssql 2005) any idea how to get around this or make things work?

Thanks,

NurveTech
0
NurveTech
Asked:
NurveTech
1 Solution
 
TSmoothCommented:
What error messages are you getting? How are you passing the values into the database? Use parameterized queries to avoid issues with certain characters in the data you are passing.
0
 
chinu1310Commented:
Hi,
Have a look at this.
http://support.microsoft.com/kb/246069

Hope it helps.
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now