日期:2014-05-18 浏览次数:20508 次
Label1.Text += string.Format(@"<tr class=[color=#FF0000]\"list2\"[/color]>
<td height='35' valign='top'>
回答人:
<br/><input id='TxtAnswerUser' name='askUser' type='text' style='width:100px;' value='{0}' >
<br/>回答时间:<br/>{1}
</td>
<td height='35'>
回答描述:
<input id='aId' name='answerId' type='text' value='{3}' style='display:none;'>
<br/><textarea id='txtAnswerDesc' name='askContent' style='width:450px;' cols='50' rows='8' name='aquestion'>{2}</textarea>
<input type='button' value='删除' id='{3}' onclick='GetRow({3})'/>
</td>
</tr>", answerModel[i].AAnswerUser, answerModel[i].AAnswerDate, answerModel[i].AAnswerDesc, answerModel[i].ID);
------解决方案--------------------
那是不是你那些字段服务器和本地字段不一样,本地有值,服务器那边没有。
------解决方案--------------------
IE8下按 F12,然后再指向这个Label,看看生成了啥代码,再贴出来看看