取值,该怎么处理
取值
问题1:
<input type="text" id="MsgTitle" runat="server" class="inputTxt" style="width: 600px" />
result.MessageTitle = Request["MsgTitle"].ToString();
这中的可以
result.MessageTitle = MsgTitle.Value;
得不到文本框中的值,我想问下什么原因?
问题2;
result.MessageTitle = MsgReply.Text;获取不到,
result.MessageTitle = Request["MsgReply"].ToString();这中获取倒是乱码。
------最佳解决方案--------------------
result.MessageTitle = Request["MsgReply"].ToString();这中获取倒是乱码。
==》
http://myprogram.blog.hexun.com/37206105_d.html 参考这个
------其他解决方案--------------------
来人呀,
------其他解决方案--------------------
MsgTitle.Value不行吗?
------其他解决方案--------------------
Request["MsgReply"].ToString(); 编码一下
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<CE:Editor id="Editor1" runat="server" />
取值方法
string strContent = this.Editor1.Text;
------其他解决方案--------------------
其他页面中可以,这个另外一个页面中,不行的。。。
------其他解决方案--------------------
问题1:
<input type="text" id="MsgTitle" runat="server" class="inputTxt" style="width: 600px" />
result.MessageTitle = Request["MsgTitle"].ToString();
这中的可以
result.MessageTitle = MsgTitle.Value;
得不到文本框中的值,我想问下什么原因?
问题2;
<CE:Editor ID="MsgReply" runat="server" AutoConfigure="Simple" ContextMenuMode="Simple"
BorderColor="#B0E2FF" CustomCulture="zh-CN" FilesPath="VisionMaster\images\"
Width="650px" Height="200px" EditorWysiwygModeCss="CuteSoft_Client/CuteEditor/Style/example.css"
SecurityPolicyFile="HospitalInfo.config">
<FrameStyle BackColor="White" BorderColor="#DDDDDD" BorderWidth="1px" BorderStyle="Solid"
CssClass="CuteEditorFrame"></FrameStyle>
</CE:Editor>
result.MessageTitle = MsgReply.Text;获取不到,
result.MessageTitle = Request["MsgReply"].ToString();这中获取倒是乱码。
------最佳解决方案--------------------
result.MessageTitle = Request["MsgReply"].ToString();这中获取倒是乱码。
==》
http://myprogram.blog.hexun.com/37206105_d.html 参考这个
------其他解决方案--------------------
来人呀,
------其他解决方案--------------------
MsgTitle.Value不行吗?
------其他解决方案--------------------
Request["MsgReply"].ToString(); 编码一下
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<CE:Editor id="Editor1" runat="server" />
取值方法
string strContent = this.Editor1.Text;
------其他解决方案--------------------
其他页面中可以,这个另外一个页面中,不行的。。。
------其他解决方案--------------------