Go Back   Velocity Reviews > General Computer Discussion > General Help Related Topics
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

General Help Related Topics - How To Display And Edit Multiline In Datagrid Controls With Databinding..

 
Thread Tools Search this Thread
Old 03-28-2009, 02:41 PM   #1
Default How To Display And Edit Multiline In Datagrid Controls With Databinding..


I have a gridview web control in one asp.net 2.0 page which has a field with mutliline texts need to be displayed and updated. I am using SQLDatasource to retrieve the data from my database and then use databinding to this gridview. When the mutliline texts showed on the gridview, all line breaks were gone. For example, the original texts came from the user in the database were:

Row 1 - text text
Row 2 - text text
Row 2 - text text

While it displayed in the gridview it looked like one single line without any line breaks:
Row 1 - text textRow 2 - text textRow 3 - text text.
please give a solution for this one.......

And when I clicked the Edit command, these texts would show in one single line text box too.


har29oct
har29oct is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46