全部家当问高手个关于";"的莫名其妙的问题 <input id='yy' type=button onclick='dosth();'>这个input如果我想在.cs里Response.wripte 怎么写老是报dosth()后面有个分号的错,那个分号怎么处理 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Response.write直接写,没有问题的 string ss =" <input type='button' onclick=dosth(this); class='btn1' value='编 辑'>"Response.write (ss.tostring());报语法错误 onload 就报ie语法错误 Response.write这个有什么意义呢?Response.write是写在HTML最顶端的而<input必须放在<Form里面才可以 在 html里的td里<%binddata();%> <%binddata();%>//在这里加个分号是什么意思呢? public void binddata(){Response.write....} 就这样写啊:Response.Write("<input id='yy' type=button onclick='dosth();'>"); 建议楼主在需要放这个BUTTON的地方放一个LABLE控件,,如Lable1,然后后台写:Lable1.Text = "<input id='yy' type=button onclick='dosth();'>"; LABLE控件不可以的,转为客户端是Div,里面不可能有按钮Literal控件还差不多 求.net的cs代码 asp.net实时更新数据而不刷新页面,请问怎实现呢 sql动态生成的数据,怎样在Repeater中动态显示? GRidView问题 求助 困扰很久的下拉列表框问题 一个简单的aps.net问题(在线等) 请教缩略图问题? 上传文件到数据库出错???vb 如何用System.Web.UI.WebControls控件替换Microsoft.Web.UI.WebControls 怎样计算DataSet中总共多少行啊? 关于业务流程的开发
Response.write是写在HTML最顶端的
而<input必须放在<Form里面才可以
Response.Write("<input id='yy' type=button onclick='dosth();'>");
Lable1.Text = "<input id='yy' type=button onclick='dosth();'>";
Literal控件还差不多