Text='<%# DataBinder.Eval(Container.DataItem, "price", "(0:c2)") %>'
Produces (0:c2) in the output column
Text='<%# DataBinder.Eval(Container.DataItem, "price") %>
Produces xx.xx00 in the output column
What's wrong?
I note that in my "Currently insalled progams" I have
Microsoft .NET Framework(English) v1.0.0375 (no size listed)
Microsoft .NET Framework 1.0 Hotfix (KB886906) Size 1,721.00MB
Microsoft .NET Framework 1.1 Size
1,721.00MB
Microsoft .NET Framework 1.1 Hotfix (KB886903) Size 1,721.00MB
Would this have anything to do with my problem? Should I uninstall the first
2 items of the list above?
Thank you.... 2 1476
Bruce,
Have you tried: Text='<%# DataBinder.Eval(Container.DataItem, "price", "{0:c2}") %>'
Note the use of the curly braces {} instead of parathesis ().
Hope this helps
Jay
"Bruce A. Julseth" <br***********@attglobal.net> wrote in message
news:u0**************@TK2MSFTNGP12.phx.gbl... Text='<%# DataBinder.Eval(Container.DataItem, "price", "(0:c2)") %>'
Produces (0:c2) in the output column
Text='<%# DataBinder.Eval(Container.DataItem, "price") %>
Produces xx.xx00 in the output column
What's wrong?
I note that in my "Currently insalled progams" I have
Microsoft .NET Framework(English) v1.0.0375 (no size listed) Microsoft .NET Framework 1.0 Hotfix (KB886906) Size 1,721.00MB Microsoft .NET Framework 1.1 Size 1,721.00MB Microsoft .NET Framework 1.1 Hotfix (KB886903) Size 1,721.00MB
Would this have anything to do with my problem? Should I uninstall the first 2 items of the list above?
Thank you....
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:e6*************@TK2MSFTNGP12.phx.gbl... Bruce, Have you tried:
Text='<%# DataBinder.Eval(Container.DataItem, "price", "{0:c2}") %>'
Note the use of the curly braces {} instead of parathesis ().
Hope this helps Jay
"Bruce A. Julseth" <br***********@attglobal.net> wrote in message news:u0**************@TK2MSFTNGP12.phx.gbl... Text='<%# DataBinder.Eval(Container.DataItem, "price", "(0:c2)") %>'
Produces (0:c2) in the output column
Text='<%# DataBinder.Eval(Container.DataItem, "price") %>
Produces xx.xx00 in the output column
What's wrong?
I note that in my "Currently insalled progams" I have
Microsoft .NET Framework(English) v1.0.0375 (no size
listed) Microsoft .NET Framework 1.0 Hotfix (KB886906) Size 1,721.00MB Microsoft .NET Framework 1.1 Size 1,721.00MB Microsoft .NET Framework 1.1 Hotfix (KB886903) Size 1,721.00MB
Would this have anything to do with my problem? Should I uninstall the first 2 items of the list above?
Thank you....
Curly braces was the problem.. THANKS!!!!!!!!!!
Bruce This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michelle Keys |
last post by:
Subject: DataBinder.Eval Error!
Server Error in '/MSPOS' Application.
------------------------------------------------------------------------
--------
DataBinder.Eval:...
|
by: Tom Lee |
last post by:
Hi all,
I have the following problem and I cannot solve it. If
anyone can help me solve this problem.
I use the following code
<%#DataBinder.Eval(Container.DataItem, "Property")%>
to display...
|
by: bg |
last post by:
Hi!
How do I check if "date" exists before using that code?
I've built a RSSreader and sometimes there's a date in it and sometimes not.
How can I check if it exists to avoid crash...
|
by: Søren Lund |
last post by:
Hello,
I am trying to bind a DataGrid with some data from a DataSet which
contains fields in the form "group.fieldname". I am certain that my
data source contains the field but I cannot get my...
|
by: Mike Lerch |
last post by:
Pretty much, TSIA, but I'll expand a bit: I'm still trying to get my
head around the n-tier approach to web design. It seems to me that
when you use DataBinder.Eval in the ASPX that your tiers...
| |
by: Eric Newton |
last post by:
Given databinding an array of System.Version types:
Given that "SomeObject" type has a Version property:
public class SomeObject
{
public Version Version { get; }
public string Description {...
|
by: Oleg Ogurok |
last post by:
Hi all,
I have a DatePicker ASP.NET control that allows users to enter date (e.g. a
calendar control). The control has the following property
public DateTime Value { get; set; }
I've placed...
|
by: Mark Jones |
last post by:
I am quite new to ASP and .Net development and I am building a web-based
multiple choice exam application.
The web page displays the questions using a Repeater control and the
answers are nested...
|
by: CharlesA |
last post by:
a general question...
I'm a bit mystified by Databinder.eval(object, Colname, )
if controls can be bound to their individual data sources within the load
event of the page...
why would we ever...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |