无法绑定由多个部分组成的标识符 "DzDptabel.DpID"。
<asp:HyperLinkField DataNavigateUrlFields="DpID,DpName" DataNavigateUrlFormatString ="Dpmingxi.aspx?DpID={0}&DpName={1}" DataTextField="DpName" DataTextFormatString="查看{0}的明细" HeaderText="店铺明细" />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1" >
<Columns>
<asp:BoundField DataField="DzName" HeaderText="拥有者姓名" SortExpression="DzName" />
<asp:BoundField DataField="DpName" HeaderText="店铺名" SortExpression="DpName" />
<asp:BoundField DataField="time" HeaderText="时间" SortExpression="time" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:market %>"
ProviderName="<%$ ConnectionStrings:market.ProviderName %>"
SelectCommand="SELECT [DzName], [DpName], [time] FROM [DzDptable],[Dztable],[Dptable] where DpName=@pDpName and [Dptable].DpID=[DzDptabel].DpID and [Dztable].DzID=[DzDptable].DzID ">
<SelectParameters>
<asp:QueryStringParameter Name="pDpID" QueryStringField="DpID" />
<asp:QueryStringParameter Name="pDpName" QueryStringField="DpName" />
</SelectParameters>
</asp:SqlDataSource>