data alignment

chand

Freshman
Joined
Feb 4, 2004
Messages
30
hi
my user is storing data in multiline textbox as paragraphs and it retrieving same .but i am doing html report like using td's.

my code look like this in aspx page
<td id="tdout" runat=server></td>

in aspx.vb file
dim ods as dataset
tdout.innertext=oDs.Tables(0).Rows(0)(94)

it's not displaying paragraphs even i tried with tdout.innerhtml.can anyone give me idea how do i display as it is in tablecell(td). when i debug it i saw i am getting paragraphs from table.

I would appreciate any help

thanks
 
Try using an asp:Label control instead. On your .aspx page put something like:

<asp:Label ID="mytext" Runat="server" />

and change your aspx.vb codebehind page like this:

dim oDs as dataset
..
mytext.Text = oDs.Tables(0).Rows(0)(94)

The lable control will be replaced by your paragraphs from your table.

HTH
 
Back
Top