asp.net中textarea面临的问题 [英] Facing issue with textarea in asp.net

查看:69
本文介绍了asp.net中textarea面临的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
谁能告诉我为此的溶蛋白?
在我的使用htmltext区域的asp.net Web应用程序iam中,它在触发任何事件或单击任何按钮后都显示html源代码.我应该不显示html源代码吗?

hi
can any one tell me the solutin for this?
in my asp.net web application iam using htmltext area it is displaying html source code after any event fired or any button clicks ..wat should i do to not displaying the html source code?

推荐答案

string tempvar="textareaid".text;


插入数据库后
只是写.


after inserting into database
just write.

"textareaid".text=tempvar;


使用此代码段
textarea.innerhtml = string;
use this snippet
textarea.innerhtml=string;


这篇关于asp.net中textarea面临的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆