读书人

SqlDataSource里的几个属性不懂,哪位讲

发布时间: 2012-02-19 19:43:39 作者: rapoo

SqlDataSource里的几个属性不懂,哪位讲解下!
<asp:SqlDataSource id= "alltoipcSqlDataSource " runat= "server " SelectCommand= "SELECT [topicid], [topictitle], [views], [comments], [update_date] FROM [topics] WHERE ([comments] > = @comments) ORDER BY [update_date] DESC " ConnectionString= " <%$ ConnectionStrings:dbconnection %> "> <SelectParameters>
<asp:ControlParameter PropertyName= "Value " Type= "Int32 " DefaultValue= "0 " Name= "comments " ControlID= "topickindHiddenField "> </asp:ControlParameter>
</SelectParameters>
</asp:SqlDataSource>


哪位可以讲解下这里面的如下几个属性有什么用途啊?
PropertyName= "Value " Type= "Int32 " DefaultValue= "0 " Name= "comments " ControlID= "topickindHiddenField "

[解决办法]
获取id

读书人网 >C#

热点推荐