读书人

asp.net C# 将整型转成字符串用什么函

发布时间: 2012-04-16 16:20:04 作者: rapoo

asp.net C# 将整型转成字符串用什么函数
asp.net C# 将整型转成字符串用什么函数
设变量为id0

[解决办法]
既然是从别的页面传递过来的话,应该是一个QueryString类型的变量
在你原来基础上改

<footertemplate>

</footertemplate>
</asp:repeater>

<asp:sqldatasource id="SqlDataSource1"
connectionstring="<%$ ConnectionStrings:kaoheConnectionString %>"
selectcommand="SELECT * FROM [fengong] where id=@id0"
runat="server">
</asp:sqldatasource>
<asp:QueryStringParameter Name= "id" QueryStringField= "id" Type= "String " />

怎么SqlDataSource又和你卯上了啊,哈哈

读书人网 >asp.net

热点推荐