首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

SqlDataSource里的几个属性不懂,哪位讲解下!解决办法

2012-02-19 
SqlDataSource里的几个属性不懂,哪位讲解下!asp:SqlDataSourceid alltoipcSqlDataSource runat serv

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

热点排行