Hi Alex,
As for the another GridView, it is inside <EmptyDataTemplate>. I've bold
the two gridviews below:
<asp:GridView id="gvOrderDetails" runat="server"
DataSourceID="sqldsOrderDetails" AllowSorting="true"
Width="95%"
AllowPaging="True" PageSize="2" >
<AlternatingRowStyle BackColor="AliceBlue" />
<HeaderStyle HorizontalAlign="Left" />
<EmptyDataTemplate>
.........................
<asp:GridView id="gvAllOrderDetails" runat="server"
DataSourceID="sqldsAllOrderDetails" AllowSorting="true" Width="95%"
AllowPaging="true" PageSize="3" >
<AlternatingRowStyle BackColor="aliceBlue" />
.....................
For the EmptyDataTemplate, it is just a new property introduced for some
template databound control in ASP.NET 2.0, you can get more info in the
MSDN document:
#GridView..::.EmptyDataTemplate Property
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.e
mptydatatemplate.aspx
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
--------------------