R
Rudi Hausmann
Hi!
I have a column with a date.
In another column I want to show the weekday of this date.
I have following code:
<asp:BoundField DataField="myDate" HeaderText="WeekDay"
SortExpression="weekday" DataFormatString="{0:dddd}" HtmlEncode="False"
ApplyFormatInEditMode="True" />
<asp:BoundField DataField="myDate" HeaderText="Day"
SortExpression="weekday" DataFormatString="{0:d}" HtmlEncode="False"
ApplyFormatInEditMode="True" />
Is there a way to make WeekDay "bound" to Day? And of course WeekDay
should not be editable (using Template), but immediately show changes
within Day.
Regards,
Rudi
I have a column with a date.
In another column I want to show the weekday of this date.
I have following code:
<asp:BoundField DataField="myDate" HeaderText="WeekDay"
SortExpression="weekday" DataFormatString="{0:dddd}" HtmlEncode="False"
ApplyFormatInEditMode="True" />
<asp:BoundField DataField="myDate" HeaderText="Day"
SortExpression="weekday" DataFormatString="{0:d}" HtmlEncode="False"
ApplyFormatInEditMode="True" />
Is there a way to make WeekDay "bound" to Day? And of course WeekDay
should not be editable (using Template), but immediately show changes
within Day.
Regards,
Rudi