<asp:TemplateField >
<ItemTemplate>
<asp:Label id="lbl1" Text='<%#
Replace(Container.DataItem("st_name") , Chr(13),
"<br>") %>' runat="server"
></asp:label>
</ItemTemplate>
</asp:TemplateField>
Ahmed <iahmed9060 yahoo.com> wrote: How and
where to use this code?.
Please pardon me if its a silly question. I am just a
beginner.
Thanks for your help.
--- Abdulla Abd Al Haq <abdulla_ah2001 yahoo.com>
wrote:
> Try This
>
> Replace(YouText, Chr(13), "<br>")
>
>
>
> Ahmed <iahmed9060 yahoo.com> wrote:
> No I have not,
> How do I use it and where do I use it?.
>
> --- Brett Stinson <brett.stinson gmail.com> wrote:
>
> > iahmed:
> > Have you tried:
> >
> >
Replace(<text>,vbcrlf,"<br>")
> >
> > --
> > Brett.Stinson gmail.com
> >
> >
> > On 1/30/07, iahmed9060 <iahmed9060 yahoo.com>
> wrote:
> > >
> > > Hi,
> > >
> > > Is there anyway to show newline characters
in
> > detailsview form?
> > >
> > > Here is what I am trying to do. I am
retrieving
> > some value from
> > > database, but when it displays in the
> detailsview
> > form all the newline
> > > characters are stripped out.
> > >
> > > I want to know as how can I display those
> > characters in the form.
> > >
> > > Can anyone help!!
> > >
> > > I am using asp.net 2.0 and Sql server 2000.
> > >
> > > Thanks
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been
> > removed]
> >
> >
>
>
__________________________________________________________
> Any questions? Get answers on any topic at
> www.Answers.yahoo.com. Try it now.
>
>
>
>
>
> ---------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile and
> always stay connected to friends.
>
> [Non-text portions of this message have been
> removed]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection
around
http://mail.yahoo.com
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|