日期:2014-05-18  浏览次数:20489 次

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又和你卯上了啊,哈哈