string str="";
Response.Write("<table width='750' border='0' align='center' cellpadding='0' cellspacing='0'>");
Response.Write("<tr>");
for(int i=0;i<dt.Rows.Count;i++){
Response.Write("<tr>");
str=dt.Rows[i]["fpjmc"]; //这里出现错误,
Response.Write("<td>"+str);
Response.Write("<td>");
Response.Write("<tr>");
}如果把str改成str+,就没问题!!!!
Response.Write("<table width='750' border='0' align='center' cellpadding='0' cellspacing='0'>");
Response.Write("<tr>");
for(int i=0;i<dt.Rows.Count;i++){
Response.Write("<tr>");
str=dt.Rows[i]["fpjmc"]; //这里出现错误,
Response.Write("<td>"+str);
Response.Write("<td>");
Response.Write("<tr>");
}如果把str改成str+,就没问题!!!!
解决方案 »
- webservice能做到这种功能吗?
- asp.net应用程序假死现象,高手来指点一下
- Rss编程
- 【【TreeView控件的问题,讨厌】】我从别的地方拷贝了一段代码到VS编辑器内,结果给我自动加上了ID和NAME属性,怎么去掉这个功能??
- 请教一SQL
- 关于滑动图片问题
- 绝对巨难的问题:一aspx文件可否显示两个页面,两上下两层,底层为aspx文件本身,上面为一flash文件.如果上面的flash文件.visible=false而就
- 用webservice取数据遇到的问题。
- .net可以调asp吗?
- 想一个好办法
- 如何使一个Textbox控件在产生onTextChanged事件时先在客户端用JS检测符合规则后再发送到服务端的onTextChanged过程?
- 哪有常用的web控件下载啊
to
Response.Write("</td>");