|
 |
aspx thread: Data List DataBiner.Eval Formating
Message #1 by "Ajay Varghese" <reese@b...> on Tue, 5 Dec 2000 20:35:39 +0530
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0028_01C05EFA.EE3A3180
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
Is there some place I can find a reference for the Formatting options of
the contents of DataBinder.Eval()? I am trying to Display a Date Field
(Birth Dates) and the default value is the format of DateTTime. Does any
one know how to format it for dd-mmm-yy format?
Also, is there any documentation available other than the stuff on
GotDotNet? I was looking for a compilation of all the possible settings
of the Server Controls. For example all the settings for a Data List
like the Background color, Foreground color, etc... ? I did try the
Reference section on GotDotNet but didnt find all the complete list of
options. Or did I miss it?
Thanks,
Ajay
Message #2 by Susan Warren <swarren@m...> on Tue, 5 Dec 2000 10:35:56 -0800
|
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C05EEA.34CB8240
Content-Type: text/plain;
charset="iso-8859-1"
Ajay,
The most complete and up-to-date list of control properties can be obtained
via reflection. The .NET SDK samples include two class browser samples that
do exactly this. If you've installed the samples on your dev machine, you
already have them.
http://localhost/clsview <http://localhost/clsview>
http://localhost/
<http://localhost/quickstart/aspplus/samples/classbrowser/vb/classbrowser.as
px> quickstart/aspplus/samples/classbrowser/vb/classbrowser.aspx
Otherwise the ASPX version is available online at:
http://www.gotdotnet.com/quickstart/aspplus/samples/classbrowser/vb/classbro
wser.aspx
<http://www.gotdotnet.com/quickstart/aspplus/samples/classbrowser/vb/classbr
owser.aspx>
They are also covered in the .NET Framework SDK documentation that launches
from the link on the desktop. Check out the .NET Framework Reference >
System.Web.UI.HtmlControls and WebControls namespaces. I think these docs
are very complete.
Re the format strings used by DataBinder.Eval, these are standard .NET
format strings, as used by String.Format(). There's a topic in the .NET
Framework Developer's Guide called "Formatting Overview" that has a boatload
of information about this. Looks like you should try "{0:d}"
hth.
Susan
-----Original Message-----
From: Ajay Varghese [mailto:reese@b...]
Sent: Tuesday, December 05, 2000 7:06 AM
To: ASP+
Subject: [aspx] Data List DataBiner.Eval Formating
Hi,
Is there some place I can find a reference for the Formatting options of the
contents of DataBinder.Eval()? I am trying to Display a Date Field (Birth
Dates) and the default value is the format of DateTTime. Does any one know
how to format it for dd-mmm-yy format?
Also, is there any documentation available other than the stuff on
GotDotNet? I was looking for a compilation of all the possible settings of
the Server Controls. For example all the settings for a Data List like the
Background color, Foreground color, etc... ? I did try the Reference section
on GotDotNet but didnt find all the complete list of options. Or did I miss
it?
Thanks,
Ajay
Message #3 by "Michael Gaertner" <mgaert@b...> on Wed, 6 Dec 2000 09:54:17 -0500
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0004_01C05F6A.7F3EFB60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
The documentation that comes with the .NET framework, ".NET Framework SDK
Documentation" has the DataList information. Search for the title DataList
Web Control.
-----Original Message-----
From: Ajay Varghese [mailto:reese@b...]
Sent: Tuesday, December 05, 2000 10:06 AM
To: ASP+
Subject: [aspx] Data List DataBiner.Eval Formating
Hi,
Is there some place I can find a reference for the Formatting options of
the contents of DataBinder.Eval()? I am trying to Display a Date Field
(Birth Dates) and the default value is the format of DateTTime. Does any one
know how to format it for dd-mmm-yy format?
Also, is there any documentation available other than the stuff on
GotDotNet? I was looking for a compilation of all the possible settings of
the Server Controls. For example all the settings for a Data List like the
Background color, Foreground color, etc... ? I did try the Reference section
on GotDotNet but didnt find all the complete list of options. Or did I miss
it?
Thanks,
Ajay
---
Wrox Professional Web Developer Conference II
http://www.wroxconferences.com/WebDevEurope
November 29th - December 1st 2000, Amsterdam, Netherlands
Create powerful distributed web applications serving you now and
in the future. From ASP+ and VB.NET to XML and SQL Server 2000
|
|
 |