Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi
 
Thsi is Srikanth
 

I want the bind the description from my sql server 2005 database to textbox in a html format. means i am having maximum length of data in a continuous format but i just want to divide the huge data into small sort of paragraghs in the front end view.
 

example:
Position :Sterling with B2B Integration expertise Location :Hercules, CA FullTime Must have skills:Hands-on experience in designing, developing, implementing and support EDI / Punch-out Integrations, ideally using Sterling Integrator (Gentran) software toolset.Experience in Baan or a similar ERP, experience with BEA Enterprise Service Bus, WLI and BPEL toolsets.Experience with applications and tools for ecommerce solution including Autonomy search engine, Sterling Multi-channel Selling (Comergent) ecommerce applications, Interwoven TeamSite and BEA WebLogic Portal
 

 

 
can i display in this format
 

Position :Sterling with B2B Integration expertise
 
Location : Hercules, CA
 
FullTime
 

 
Must have skills:
 

 
Hands-on experience in designing, developing, implementing and support EDI / Punch-out Integrations, ideally using Sterling Integrator (Gentran) software toolset.
 
Experience in Baan or a similar ERP, experience with BEA Enterprise Service Bus, WLI and BPEL toolsets.
 
Experience with applications and tools for ecommerce solution including Autonomy search engine, Sterling Multi-channel Selling (Comergent) ecommerce applications, Interwoven TeamSite and BEA WebLogic Portal is a plus to have
Posted 21-Oct-11 4:23am
Comments
BobJanova at 21-Oct-11 11:37am
   
I think some formatting has gone missing in your question.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You wouldn't be able to display the text as HTML in a textbox, you would need to use a rich textbox or other type of html editor. However, you probably only want to display this information, not edit it. If this is true that just display it in a label.
 
The easiest thing would be to store the information in html format in the first place. If that is not possible if you follow good practices and have separate layers for your data access and business logic, then the information could be formatted at the logic layer anyway you choose and bound to the controls in the UI.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 280
1 Jochen Arndt 150
2 Kornfeld Eliyahu Peter 120
3 PIEBALDconsult 110
4 Richard MacCutchan 105
0 OriginalGriff 6,055
1 DamithSL 4,621
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,500
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 21 Oct 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100