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="S qlDataSource1"
autogeneratecol umns="False" backcolor="Whit e" bordercolor="Ye llow" >
<alternatingrow style font-italic="False" font-bold="False">
</alternatingrows tyle>
<pagerstyle font-italic="False" font-bold="False">
</pagerstyle>
<columnfields >
<asp:templatefi eld headertext="Ord erID">
<itemtemplate >
<asp:label runat="server" text='<%#
DataBinder.Eval (Container, "DataItem.Order ID") %>'>
</asp:label>
</itemtemplate>
</asp:templatefie ld>
<asp:boundfie ld sortexpression= "CustomerID "
datafield="Cust omerID" headertext="Cus tomerID">
</asp:boundfield>
<asp:boundfie ld sortexpression= "EmployeeID "
datafield="Empl oyeeID" headertext="Emp loyeeID">
</asp:boundfield>
<asp:boundfie ld sortexpression= "OrderDate"
datafield="Orde rDate" headertext="Ord erDate">
</asp:boundfield>
<asp:boundfie ld sortexpression= "RequiredDa te"
datafield="Requ iredDate" headertext="Req uiredDate">
</asp:boundfield>
<asp:boundfie ld sortexpression= "ShippedDat e"
datafield="Ship pedDate" headertext="Shi ppedDate">
</asp:boundfield>
<asp:boundfie ld sortexpression= "ShipVia"
datafield="Ship Via" headertext="Shi pVia">
</asp:boundfield>
<asp:boundfie ld sortexpression= "Freight"
datafield="Frei ght" headertext="Fre ight">
</asp:boundfield>
<asp:boundfie ld sortexpression= "ShipName"
datafield="Ship Name" headertext="Shi pName">
</asp:boundfield>
<asp:boundfie ld sortexpression= "ShipAddres s"
datafield="Ship Address" headertext="Shi pAddress">
</asp:boundfield>
<asp:boundfie ld sortexpression= "ShipCity"
datafield="Ship City" headertext="Shi pCity">
</asp:boundfield>
<asp:boundfie ld sortexpression= "ShipRegion "
datafield="Ship Region" headertext="Shi pRegion">
</asp:boundfield>
<asp:boundfie ld sortexpression= "ShipPostalCode "
datafield="Ship PostalCode" headertext="Shi pPostalCode">
</asp:boundfield>
<asp:boundfie ld sortexpression= "ShipCountr y"
datafield="Ship Country" headertext="Shi pCountry">
</asp:boundfield>
</columnfields>
<pagersetting s mode="NextPrev" >
</pagersettings>
<selectedrowsty le font-italic="False" font-bold="False">
</selectedrowstyl e>
<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.)