Hi Sck10,
Thanks for your followup. It really seems a bit strange. Here is my test
page 's template
==================================
<asp:gridview id="GridView1" runat="server" datasourceid="SqlDataSource1"
autogeneratecolumns="False" backcolor="White" bordercolor="Yellow" >
<alternatingrowstyle font-italic="False" font-bold="False">
</alternatingrowstyle>
<pagerstyle font-italic="False" font-bold="False">
</pagerstyle>
<columnfields>
<asp:templatefield headertext="OrderID">
<itemtemplate>
<asp:label runat="server" text='<%#
DataBinder.Eval(Container, "DataItem.OrderID") %>'>
</asp:label>
</itemtemplate>
</asp:templatefield>
<asp:boundfield sortexpression="CustomerID"
datafield="CustomerID" headertext="CustomerID">
</asp:boundfield>
<asp:boundfield sortexpression="EmployeeID"
datafield="EmployeeID" headertext="EmployeeID">
</asp:boundfield>
<asp:boundfield sortexpression="OrderDate"
datafield="OrderDate" headertext="OrderDate">
</asp:boundfield>
<asp:boundfield sortexpression="RequiredDate"
datafield="RequiredDate" headertext="RequiredDate">
</asp:boundfield>
<asp:boundfield sortexpression="ShippedDate"
datafield="ShippedDate" headertext="ShippedDate">
</asp:boundfield>
<asp:boundfield sortexpression="ShipVia"
datafield="ShipVia" headertext="ShipVia">
</asp:boundfield>
<asp:boundfield sortexpression="Freight"
datafield="Freight" headertext="Freight">
</asp:boundfield>
<asp:boundfield sortexpression="ShipName"
datafield="ShipName" headertext="ShipName">
</asp:boundfield>
<asp:boundfield sortexpression="ShipAddress"
datafield="ShipAddress" headertext="ShipAddress">
</asp:boundfield>
<asp:boundfield sortexpression="ShipCity"
datafield="ShipCity" headertext="ShipCity">
</asp:boundfield>
<asp:boundfield sortexpression="ShipRegion"
datafield="ShipRegion" headertext="ShipRegion">
</asp:boundfield>
<asp:boundfield sortexpression="ShipPostalCode"
datafield="ShipPostalCode" headertext="ShipPostalCode">
</asp:boundfield>
<asp:boundfield sortexpression="ShipCountry"
datafield="ShipCountry" headertext="ShipCountry">
</asp:boundfield>
</columnfields>
<pagersettings mode="NextPrev">
</pagersettings>
<selectedrowstyle font-italic="False" font-bold="False">
</selectedrowstyle>
<rowstyle font-italic="False" font-bold="False">
</rowstyle>
<headerstyle font-italic="False" font-bold="False">
</headerstyle>
<footerstyle font-italic="False" font-bold="False">
</footerstyle>
</asp:gridview>
===============================
seems haven"t any difference. Have you tried creating a new aspx page or
even a new project on some other machines to see whether the problem still
remain? Currently I also haven't any good idea on this.
In addition, I think you can also have a look in the Whidbey beat
newsgroup to see whether there're any clues:
Microsoft Visual Studio 2005 Newsgroups
http://communities.microsoft.com/new...idbey&slcid=us
Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)