473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

DataformatString in Gridview and Detalsview ignored

I am reposting this..hoping someone (from Microsoft) can confirm this at
least as a problem:

Since installing the VS.NET August CTP the DataFormatString of the
BoundField in the Gridview and Details view does not work. Runtime
v2.0.50727.

<asp:BoundField DataField="Event_Date" DataFormatString="{0:#0.0}"
It still shows the value as 23.04

<asp:BoundField DataField="Event_Date" DataFormatString="{0:yyyy/MM/dd}"

It still shows the date as "2005/05/03 12:45 AM"

It worked in beta 2, don't knwo about July CTP, but August CTP is a problem

v2.0.50727

Anybody else know about this please... am I missing something...

Thks

Gerhard
Nov 19 '05 #1
1 1987
Well eventually found something here...
http://lab.msdn.microsoft.com/produc...9-39162abc847b

Bug was reported on 22 Aug 2005 already...
Nobody made any comment on it here, which is a little disappointing,

Gerhard

"Gerhard Pretorius" <ge*****@comprehendit.co.za> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
I am reposting this..hoping someone (from Microsoft) can confirm this at
least as a problem:

Since installing the VS.NET August CTP the DataFormatString of the
BoundField in the Gridview and Details view does not work. Runtime
v2.0.50727.

<asp:BoundField DataField="Event_Date" DataFormatString="{0:#0.0}"
It still shows the value as 23.04

<asp:BoundField DataField="Event_Date" DataFormatString="{0:yyyy/MM/dd}"

It still shows the date as "2005/05/03 12:45 AM"

It worked in beta 2, don't knwo about July CTP, but August CTP is a
problem

v2.0.50727

Anybody else know about this please... am I missing something...

Thks

Gerhard

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Gerhard Pretorius | last post by:
Since installing the VS.NET August CTP the DataFormatString of the BoundField in the Gridview does not work. Runtime v2.0.50727. <asp:BoundField DataField="Event_Date"...
2
by: Jon | last post by:
Hi All, I have a column in my GridView with DataFormatString="{0:dd/MM/YYYY HH:mm}" HtmlEncode="False" Still the date formats as 2005-11-08T20:48:03 Any ideas? I'm using latest full release...
1
by: Hardy Wang | last post by:
Hi, I have a GridView control in my web form (ASP.NET 2.0) <asp:GridView ID="gvReport" runat="server" AllowSorting="True" AutoGenerateColumns="False" Width="100%"> <HeaderStyle...
12
by: Alan Silver | last post by:
Hello, I have a GridView control, and am unsuccessfully trying to format a column to show costs. The (simplified) code is as follows... <asp:GridView ID="grdCustomers"...
2
by: Rob Roberts | last post by:
I have a GridView that is bound to a collection of DateTimes (i.e. - Collection<DateTime>). I have a BoundField in the GridView, and its DataField is set to the DateTime's Date property, and the...
3
by: David Lozzi | last post by:
Howdy, In my GridView i have some bound columns displaying currency. I have DataFormatString="${0:C2}" in one of the columns but the value being displayed is $35 . If the price has cents, then...
2
by: pgonzo | last post by:
In my initial tests with the GridView control, I cannot understand why the DataFormatString attribute has no affect on the column formatting. The 'creation_date' field is being reported as "3/30/02...
3
by: bsm | last post by:
I have created GridView and assign Datasource at RunTime. I need to format one Column which will have the following data. Start_date Want to Format as...
5
by: Tim Mackey | last post by:
hi, with a derived DataGrid control, i can override the CreateColumnSet method and scan into the DataGridColumns and set the DataFormatString, e.g. leave out the time part of a DateTime value. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.