Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dba123
Yak Posting Veteran
90 Posts |
Posted - 2007-02-28 : 12:37:05
|
I assume a varchar will allow HTML tags when inserting into a varchar field? I'm trying to figure out why my C#'s method after performing an insert is stripping HTML from my string. I don't see that it's anything in C# so I'm resorting to this question about varchar |
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2007-02-28 : 12:58:34
|
a varchar is for any ansi (single byte char) string. nvarchar is for unicode.so yes, html tags will certainly work fine in a varchar column. probably it's your C# code that's stripping the tags. www.elsasoft.org |
 |
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2007-02-28 : 13:30:55
|
show us the c# code snippet.Causing trouble since 1980blog: http://weblogs.sqlteam.com/mladenp |
 |
|
|
|
|