Options

VB.Net / Dreamweaver CS3 formatting problem

excalibur1814excalibur1814 Member Posts: 82 ■■□□□□□□□□
Hello,

I have data stored in an access database which the .aspx page calls as an Update record form etc and I cannot seem to change the format of the data on the page. -0.167876454 appears instead of -0.16 or rounded to -0.17. agghh.

I've tried adding the following: (Data format string and htmlEncode)
<asp:textbox id="Output1" DataFormatString="{0:F}" text='<%# dsUpdate1.FieldValue("Output1", Container) %>' HtmlEncode="false" TextMode="SingleLine" Columns="10" runat="server" />

Nothing.

Here's the entire code: Maybe I'm going about this the wrong way and instead of updating field view I should simply use the fields from the datagrid... for example: <%# dsUpdate1.FieldValue("InProductionDaysID", Container) %>






I forced Access to format the data before it came across
Mooooo
Sign In or Register to comment.