Jump to content
Fórum Script Brasil
  • 0

Recuperar texto campo richtext


Question

Pessoal. Seguinte. Tenho uma pagina que recupera alguns dados normalmente do banco postgres. Acontece que um desses campos esta assim na tabela:

{\rtf1\ansi\ansicpg1252\uc1\deff0\adeff0\deflang0\deflangfe0\adeflang0{\fonttbl {\f0\fnil\fcharset0\fprq2 Arial;} {\f1\fswiss\fcharset0\fprq2 Tahoma;} {\f2\froman\fcharset2\fprq2 Symbol;}} {\colortbl;} {\stylesheet{\s0\ltrpar\itap0\nowidctlpar\ql\li0\ri0\lin0\rin0\rtlch\af0\afs24\ltrch\f0\fs24 [Normal];}{\*\cs10\additive Default Paragraph Font;}} {\*\generator TX_RTF32 21.0.551.501;} \paperw11907\paperh16840\margl567\margt567\margr567\margb567\deftab1134\widowctrl\lytexcttp\formshade\sectd \headery0\footery0\pgwsxn11907\pghsxn16840\marglsxn567\margtsxn567\margrsxn567\margbsxn567\pgbrdropt32\pard\ltrpar\itap0\nowidctlpar\ql\li0\ri0\lin0\rin0\plain\rtlch\af1\afs20\alang1046\ltrch\f1\fs20\lang1046\langnp1046\langfe1046\langfenp1046 - 55 ANOS\par - NEGA ETILISMO E TABAGISMO\par - ROSIVANIA - IRM\loch\af1\dbch\af1\hich\f1\'c3\hich\af1\dbch\af1\loch\f1 / NITA - IRM\loch\af1\dbch\af1\hich\f1\'c3\par\hich\af1\dbch\af1\loch\f1 - HAS \par - AVO MATERNA - CA DE MAMA\par - G3P2A1\par\par\par - REFERE TER GASTRITE, REALIZOU EDA \par\par EDA 31/01/20 = BLASTOMA G\loch\af1\dbch\af1\hich\f1\'c1\hich\af1\dbch\af1\loch\f1 STRICO\par\par AP DE BIOPSIA G\loch\af1\dbch\af1\hich\f1\'c1\hich\af1\dbch\af1\loch\f1 STRICA 10/02/20 = CARCINOMA DE C\loch\af1\dbch\af1\hich\f1\'c9\hich\af1\dbch\af1\loch\f1 LULAS EM ANEL DE SINETE. CLASSIFICA\loch\af1\dbch\af1\hich\f1\'c7\'c3\hich\af1\dbch\af1\loch\f1 O DE LAUREN - TIPO DIFUSO, GRAU 3. H PYLORI NEGATIVO\par\par SEM QUEIXAS, INQUERIDA NEGA SINTOMAS DIGESTIVOS. ACEITA BEM A DIETA.\par\par\par AO EXAME:BEG, CONSCIENTE, ORIETADA, PESO = 52,60 / ALT = 1,58\par ACV - RCR EM 2T\par AR - MV + EM AHT, SEM RA\par ABD - NORMOTENSO, FLACIDO\par EXT - SEM EDEMA\par\par\par CONDUTA:\par - SOLICITO IHQ\par - SOLICITO CA 125, CEA, CA 19.9\par - AGUARDO TC DE TORAX E ABD E CINT \loch\af1\dbch\af1\hich\f1\'d3\hich\af1\dbch\af1\loch\f1 SSEA QUE REALIOU ONTEM E HOJE NA .\par\par\par -----\par\par }

 

A duvida e como converter isso. já tentei com replace sem sucesso. 

Teria alguma solução?

Eu recupero o texto assim: <%=obRS2("texto").Value%>

 

 

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Cloud Computing


  • Forum Statistics

    • Total Topics
      148690
    • Total Posts
      644529
×
×
  • Create New...