摘要:How can I add Caption/Title to GridView?
<asp:GridView ID="gv" runat="server" AllowPaging="True"
AllowSorting="True" AutoGenerateColumns="False" BackColor="#CCFFFF"
BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4"
DataKeyNames="ID" DataSourceID="ds1" HorizontalAlign="center"
Caption='<table border="1" width="100%" cellpadding="0" cellspacing="0" bgcolor="#006699">
<tr><td><font color=white> Heading</font></td></tr></table>'
CaptionAlign="Top">