<small id='N4GcV'></small><noframes id='N4GcV'>

      1. <tfoot id='N4GcV'></tfoot>
        • <bdo id='N4GcV'></bdo><ul id='N4GcV'></ul>

        <i id='N4GcV'><tr id='N4GcV'><dt id='N4GcV'><q id='N4GcV'><span id='N4GcV'><b id='N4GcV'><form id='N4GcV'><ins id='N4GcV'></ins><ul id='N4GcV'></ul><sub id='N4GcV'></sub></form><legend id='N4GcV'></legend><bdo id='N4GcV'><pre id='N4GcV'><center id='N4GcV'></center></pre></bdo></b><th id='N4GcV'></th></span></q></dt></tr></i><div id='N4GcV'><tfoot id='N4GcV'></tfoot><dl id='N4GcV'><fieldset id='N4GcV'></fieldset></dl></div>

      2. <legend id='N4GcV'><style id='N4GcV'><dir id='N4GcV'><q id='N4GcV'></q></dir></style></legend>

        多行文本框多个换行符

        Multiline TextBox multiple newline(多行文本框多个换行符)
          • <small id='IoqRx'></small><noframes id='IoqRx'>

            <i id='IoqRx'><tr id='IoqRx'><dt id='IoqRx'><q id='IoqRx'><span id='IoqRx'><b id='IoqRx'><form id='IoqRx'><ins id='IoqRx'></ins><ul id='IoqRx'></ul><sub id='IoqRx'></sub></form><legend id='IoqRx'></legend><bdo id='IoqRx'><pre id='IoqRx'><center id='IoqRx'></center></pre></bdo></b><th id='IoqRx'></th></span></q></dt></tr></i><div id='IoqRx'><tfoot id='IoqRx'></tfoot><dl id='IoqRx'><fieldset id='IoqRx'></fieldset></dl></div>
            <tfoot id='IoqRx'></tfoot>
              <bdo id='IoqRx'></bdo><ul id='IoqRx'></ul>
                <tbody id='IoqRx'></tbody>
                • <legend id='IoqRx'><style id='IoqRx'><dir id='IoqRx'><q id='IoqRx'></q></dir></style></legend>
                  本文介绍了多行文本框多个换行符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我像这样为 Multiline Textbox 设置了一个值.

                  I set a value for a Multiline Textbox like this.

                  textBox1.Text = "Line1
                  
                  Line2";
                  

                  但是,输出中只有一个行距.

                  But, only one line space in output.

                  当我读取文本框的值时,我读取了 "Line1 Line2";

                  When I read the value of textbox, I read "Line1 Line2";

                  为什么 ASP.NET 不支持多于一个的换行符?

                  Why does ASP.NET not support more then one lineline character?

                  推荐答案

                  我也遇到了同样的问题.如果我添加一个 Environment.Newline 我会在文本框中得到一个新行.但是如果我添加两个 Environment.Newline 我会得到一个新行.在我的网络应用程序中,我使用了一个空格模块来删除所有不必要的空格.如果我禁用此模块,我的文本框中会出现两行新行.希望对您有所帮助.

                  I had the same problem. If I add one Environment.Newline I get one new line in the textbox. But if I add two Environment.Newline I get one new line. In my web app I use a whitespace modul that removes all unnecessary white spaces. If i disable this module I get two new lines in my textbox. Hope that helps.

                  这篇关于多行文本框多个换行符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What is the difference between Funclt;string,stringgt; and delegate?(Funclt;string,stringgt; 有什么区别?和委托?)
                  What is the difference between lt;%: and lt;%= in ASP.NET MVC?(ASP.NET MVC 中的 lt;%: 和 lt;%= 有什么区别?)
                  linq query for tag system - search for multiple tags(标签系统的 linq 查询 - 搜索多个标签)
                  Forum tags. What is the best way to implement them?(论坛标签.实施它们的最佳方法是什么?)
                  Regex - I only want to match the start tags in regex(正则表达式 - 我只想匹配正则表达式中的开始标签)
                  html script tag not using type javascript lt;script type=quot;text/htmlquot;gt;?(html 脚本标签未使用类型 javascript lt;script type=quot;text/htmlgt;gt;?)

                  <small id='2sRD6'></small><noframes id='2sRD6'>

                  <tfoot id='2sRD6'></tfoot>
                      <tbody id='2sRD6'></tbody>

                      <i id='2sRD6'><tr id='2sRD6'><dt id='2sRD6'><q id='2sRD6'><span id='2sRD6'><b id='2sRD6'><form id='2sRD6'><ins id='2sRD6'></ins><ul id='2sRD6'></ul><sub id='2sRD6'></sub></form><legend id='2sRD6'></legend><bdo id='2sRD6'><pre id='2sRD6'><center id='2sRD6'></center></pre></bdo></b><th id='2sRD6'></th></span></q></dt></tr></i><div id='2sRD6'><tfoot id='2sRD6'></tfoot><dl id='2sRD6'><fieldset id='2sRD6'></fieldset></dl></div>

                          <bdo id='2sRD6'></bdo><ul id='2sRD6'></ul>
                          <legend id='2sRD6'><style id='2sRD6'><dir id='2sRD6'><q id='2sRD6'></q></dir></style></legend>