Click here to Skip to main content
15,895,777 members
Home / Discussions / C#
   

C#

 
AnswerRepost - Answered in QA Pin
DaveyM6926-Jun-10 6:05
professionalDaveyM6926-Jun-10 6:05 
QuestionQuery for multiple occurance in Column Pin
Nikhil Bhivgade26-Jun-10 2:30
professionalNikhil Bhivgade26-Jun-10 2:30 
AnswerRe: Query for multiple occurance in Column Pin
Pete O'Hanlon26-Jun-10 2:33
mvePete O'Hanlon26-Jun-10 2:33 
QuestionHTML Page download in C# Pin
makumazan8426-Jun-10 1:58
makumazan8426-Jun-10 1:58 
GeneralRe: HTML Page download in C# Pin
harold aptroot26-Jun-10 2:24
harold aptroot26-Jun-10 2:24 
GeneralRe: HTML Page download in C# [modified] Pin
makumazan8426-Jun-10 3:48
makumazan8426-Jun-10 3:48 
QuestionProblem on XMLUnSerialize Pin
Tiago Conceição26-Jun-10 1:33
Tiago Conceição26-Jun-10 1:33 
QuestionJoin RTF Pin
Sebastian T Xavier25-Jun-10 19:21
Sebastian T Xavier25-Jun-10 19:21 
Hello,

I want to concatenate RTF texts from database and show them in a rich textbox as a single document without loosing formating.
I have one record like this
{\rtf1\ansi\ansicpg1252\uc1\deff0{\fonttbl
{\f0\fswiss\fcharset0\fprq2 Arial;}
{\f1\froman\fcharset2\fprq2 Symbol;}}
{\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red0\green0\blue0;}
{\stylesheet{\s0\itap0\nowidctlpar\f0\fs24 [Normal];}{\*\cs10\additive Default Paragraph Font;}}
{\*\generator TX_RTF32 14.0.520.503;}
\deftab1134\paperw12240\paperh15840\margl1138\margt1138\margr1138\margb1138\widowctrl\formshade\sectd
\headery720\footery720\pgwsxn12240\pghsxn15840\marglsxn1138\margtsxn1138\margrsxn1138\margbsxn1138\pard\itap0\nowidctlpar\plain\f0\fs18\cf3 hello\par }


and another record like

{\rtf1\ansi\ansicpg1252\uc1\deff0{\fonttbl
{\f0\fswiss\fcharset0\fprq2 Arial;}
{\f1\froman\fcharset2\fprq2 Symbol;}}
{\colortbl;\red0\green0\blue0;\red255\green255\blue255;\red0\green0\blue0;}
{\stylesheet{\s0\itap0\nowidctlpar\f0\fs24 [Normal];}{\*\cs10\additive Default Paragraph Font;}}
{\*\generator TX_RTF32 14.0.520.503;}
\deftab1134\paperw12240\paperh15840\margl1138\margt1138\margr1138\margb1138\widowctrl\formshade\sectd
\headery720\footery720\pgwsxn12240\pghsxn15840\marglsxn1138\margtsxn1138\margrsxn1138\margbsxn1138\pard\itap0\nowidctlpar\plain\f0\fs18\cf3 world\par }


The output of first string is Hello & second is World

I want to display this in a RTF Editor as follows


Hello
World


how can I do that? Any help would be appreciated.....


Thanks
Sebastian

AnswerRe: Join RTF Pin
Abhinav S25-Jun-10 22:19
Abhinav S25-Jun-10 22:19 
GeneralRe: Join RTF Pin
Sebastian T Xavier27-Jun-10 18:41
Sebastian T Xavier27-Jun-10 18:41 
AnswerRe: Join RTF Pin
Xmen Real 26-Jun-10 4:32
professional Xmen Real 26-Jun-10 4:32 
QuestionPopulate a Table with Recordset [modified] Pin
ASPnoob25-Jun-10 18:44
ASPnoob25-Jun-10 18:44 
AnswerRe: Populate a Table with Recordset Pin
Roger Wright25-Jun-10 19:32
professionalRoger Wright25-Jun-10 19:32 
AnswerRe: Populate a Table with Recordset Pin
Richard MacCutchan25-Jun-10 22:23
mveRichard MacCutchan25-Jun-10 22:23 
GeneralRe: Populate a Table with Recordset Pin
Pete O'Hanlon26-Jun-10 2:28
mvePete O'Hanlon26-Jun-10 2:28 
GeneralRe: Populate a Table with Recordset Pin
Richard MacCutchan26-Jun-10 2:59
mveRichard MacCutchan26-Jun-10 2:59 
Questioni need a very simple chat application Pin
Nikhil Bhivgade25-Jun-10 2:27
professionalNikhil Bhivgade25-Jun-10 2:27 
AnswerRe: i need a very simple chat application Pin
OriginalGriff25-Jun-10 2:46
mveOriginalGriff25-Jun-10 2:46 
GeneralRe: i need a very simple chat application Pin
Luc Pattyn25-Jun-10 3:12
sitebuilderLuc Pattyn25-Jun-10 3:12 
GeneralRe: i need a very simple chat application Pin
OriginalGriff25-Jun-10 3:18
mveOriginalGriff25-Jun-10 3:18 
GeneralRe: i need a very simple chat application Pin
Luc Pattyn25-Jun-10 3:37
sitebuilderLuc Pattyn25-Jun-10 3:37 
AnswerRe: i need a very simple chat application Pin
Richard MacCutchan25-Jun-10 2:49
mveRichard MacCutchan25-Jun-10 2:49 
AnswerRe: i need a very simple chat application Pin
PIEBALDconsult25-Jun-10 4:03
mvePIEBALDconsult25-Jun-10 4:03 
AnswerRe: i need a very simple chat application Pin
Blue_Boy25-Jun-10 12:36
Blue_Boy25-Jun-10 12:36 
QuestionNot all code paths return a value Pin
Nikhil Bhivgade25-Jun-10 1:50
professionalNikhil Bhivgade25-Jun-10 1:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.