View Complete Post
I want to change calendar date backColor base on data from db, I only have vistual 2003 !
on mean time I have
<asp:DataGrid id="DataGrid1" style="Z-INDEX: 102; LEFT: 23px; POSITION: absolute; TOP: 271px"
runat="server" Font-Size="XX-Small" Font-Names="Verdana" AutoGenerateColumns="False" Visible="False">
<asp:BoundColumn DataField="subject" HeaderText="Title"></asp:BoundColumn>
<asp:BoundColumn DataField="posttimestart" HeaderText="Post date"></asp:BoundColumn>
Sub DayRender(ByVal source As Object, ByVal e As DayRenderEventArgs)
Dim i As Integer
For i = 0 To DataGrid1.Items.Count - 1
If (DataGrid1.Items(i).Cells(1).Text = e.Day.Date) Then
e.Cell.BackColor = Color.DarkOrange
when I click the day wich have data in db it change color , but I want the page load it change color !
hey Guys,I have a table with a date field that had date saved in the format ofyyyy-mm-dd, what i want to achieve is when I display them I want them to be displayed as an example "September 05 2009" format. can anybody help me with this??Thank you very much.Chetan
I want to desplay date like (21-Sep-2010)
I created an adhoc report model using SQL Server 2008 reporting services. I am using data from a SQL 2000 database sitting on a SQL 2000 server. I created
reports with start date and end date parameters, everything worked fine.
Now my ad hoc report model uses a SQL 2000 database (this database is a replication of the database I was using) sitting on a SQL 2008 server. When
I change parameters like start date and end dates, data doesn’t refresh. It shows the same data for any date range.
Has anyone seen this problem? What could be done to fix the issue. Is there any setting on the SQL server to fix this?
I'm new here - just started, and already have a problem...
the database - 2 of my GridView cells: From Period, and Till Period -
retrieve dates in the format YYYYMM - that is: just Year and Month. For
I want for the date to be displayed in the Grid at the following format MM/YYYY - that is:
From the database - 2 of my GridView cells: From Period, and Till Period - retrieve dates in the format YYYYMM - that is: just Year and Month. For Example:
I have displayed summary view of calendar web part and want to change the date format from 10-24-2010 to 10-24 I don’t want to display the year can anyone help
I am getting date on my aspx page as
10/22/2010 11:52:07 AM
How can i change the format so that i becomes:
22 Oct 2010 11:52 AM