日期:2014-05-18 浏览次数:20450 次
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:baoxianConnectionString %>" SelectCommand='SELECT * FROM SELECT [id], [name] FROM [表名] where [name]=@name'> <SelectParameters> <asp:QueryStringParameter Name="name" QueryStringField="name" Type="string" /> </SelectParameters> </asp:SqlDataSource>