Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.
<asp:GridView ID="GridViewNewsFeed" runat="server" AutoGenerateColumns="False" 
EnableModelValidation="True" CellPadding="4" ForeColor="#333333" 
GridLines="None" Width="150px">



<Columns>



                    <asp:BoundField DataField="Date"  HtmlEncode="False" DataFormatString = "{0:D}" HeaderText="Date" ReadOnly="True" />

                    <asp:TemplateField  HeaderText="Title" >

                    <ItemTemplate>


                    <asp:LinkButton ID="LinkButton1" runat="server" Text='<%# Bind("Title") %>'></asp:LinkButton>


                    </ItemTemplate>

                    </asp:TemplateField>  


                </Columns>

I want to show "Date" And "Title" From List in an GrindView.... I Can show "Title" but Date wont work why?

enter image description here

// Have the Date Column Every so i should be Date in my query

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.