能否用response.write描述一个服务器控件button? 例如:response.write(<td><asp:button id="btn1" runat="sever" text="" onclick="button_onclick"/></td>);我想输出一个table 一列都是一个button控件 要求只能用response。write写出来 ,那个button 的id 怎么才能一列都不一样呢??求大侠帮忙
解决方案 »
- 哪位有codesmith啊,帮看这题啊
- 请教关于打印问题,asp.net基于web的打印,怎么实现套打??
- 大家说下,刚学JavaScript哪本书好,大家给个意见.
- 200分200分求一简单问题.
- 急求解 VS2008 程序加载错误
- 关于静态变量的使用 谢谢
- 页面回发问题,在线等,解决后马上结贴
- DropDownList控件如何使用ToolTip屬性?
- asp.net中如果在用sql查询符合一字符串变量的数据?
- 怎么在2005 web项目打包时?
- devexpress 11.2.7 源码编译
- 提示错误:Both DataSource and DataSourceID are defined on 'GridView1'.
{
Response.Write("<td><input type='button' onclick='button_onclick()' id='btn" + i.ToString() + "'/></td>");
}
2.建议不要用Response.Write输出,页面性能很差.