<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:localjznywebestConnectionString %>"
ProviderName="<%$ ConnectionStrings:localjznywebestConnectionString.ProviderName %>"
SelectCommand="SELECT * FROM table_products WHERE (ProductID = Session["ProId"].ToString())">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:localjznywebestConnectionString %>"
ProviderName="<%$ ConnectionStrings:localjznywebestConnectionString.ProviderName %>"
SelectCommand='SELECT * FROM table_products WHERE (ProductID = Session["ProId"].ToString())'></asp:SqlDataSource>
大哥,按你这样做其实没成功。。。。
@月天鹤舞: 真的假的,我电脑上设置好好的嘛