当前位置: 代码迷 >> ASP.NET >> asp.net C# 将整型转成字符串用什么函数解决办法
  详细解决方案

asp.net C# 将整型转成字符串用什么函数解决办法

热度:3615   发布时间:2013-02-25 00:00:00.0
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又和你卯上了啊,哈哈
  相关解决方案