Click here to Skip to main content
15,890,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I want my grid view columns fills calender dates can u guide or send any snippets
can u guide or send any snippets
U can refer dis http://stackoverflow.com/questions/6777627/dynamically-creating-a-columns-in-asp-net-gridview
can u guide how done in my application i want in c#
Posted
Comments
Sunny_Kumar_ 17-May-12 3:03am    
are you thinking to fetch data, I mean dates from a database or create this dynamically at runtime ?

You can use:

XML
<asp:templatefield headertext="Color">
        <itemtemplate>
                <asp:label id="lblDate" runat="server" text='<%# Eval("Your_Date_Column", "{0:MMMM d, yyyy}") %>' />
        </itemtemplate>
</asp:templatefield>
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900