G
Guest
How I can store rtf format in SQL Server. (C#)
Miha Markic said:You might store it to a varchar field or nvarchar. If the lenght is greater,
then use text or ntext.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
SLODUG - Slovene Developer Users Group www.codezone-si.info
miguel said:How I can store rtf format in SQL Server. (C#)
Miha Markic said:You might store it to a varchar field or nvarchar. If the lenght is greater,
then use text or ntext.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
SLODUG - Slovene Developer Users Group www.codezone-si.info
miguel said:How I can store rtf format in SQL Server. (C#)
Sahil Malik said:Actually .. it is .. varchar !!!
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}}
{\colortbl ;\red255\green0\blue0;}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs20 soime
text\par
aka\par
akjdki ask\par
\cf1 asdsadas\fs56 asdsadas\cf0\fs20\par
}
Okay I did learn something new. Thanks
- Sahil Malik
http://codebetter.com/blogs/sahil.malik/
Miha Markic said:You might store it to a varchar field or nvarchar. If the lenght is greater,
then use text or ntext.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
SLODUG - Slovene Developer Users Group www.codezone-si.info
miguel said:How I can store rtf format in SQL Server. (C#)
Miha Markic said:I was just wondering why did you go with binary
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
SLODUG - Slovene Developer Users Group www.codezone-si.info
Sahil Malik said:Actually .. it is .. varchar !!!
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}}
{\colortbl ;\red255\green0\blue0;}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs20 soime
text\par
aka\par
akjdki ask\par
\cf1 asdsadas\fs56 asdsadas\cf0\fs20\par
}
Okay I did learn something new. Thanks
- Sahil Malik
http://codebetter.com/blogs/sahil.malik/
Miha Markic said:You might store it to a varchar field or nvarchar. If the lenght is greater,
then use text or ntext.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
SLODUG - Slovene Developer Users Group www.codezone-si.info
How I can store rtf format in SQL Server. (C#)