• 文本框ASP.NET 控制的开发是一个输入控制,使用户可以输入文本。 默认情况下,文本模式财产的控制设置为TextBoxMode的。单线,其中显示一个单一的行文本框。 但是,也可以使用文本框控制,以显示多文箱或文本框面具的用户输入的变化价值的文本模式财产TextBoxMode的。多行或TextBoxMode的。密码分别。

    该文本显示在文本控制被指定或确定所使用的文本的财产。 文本框控制含有几种特性可控制的外观控制。 显示宽度的文字框中的人物,是由其列的财产。 如果文本的控制是一个多文字框中,行数显示的是确定由行的财产。

    来显示的案文包内的文本控制、设置换的财产。 你也可以指定数据是如何进入该文本的控制,通过设置一些特性。 以防止该案文显示在控制被修改,设置只读财产真实的。 如果你想要限制的用户输入指定的数字,设置MaxLength财产。

  • पाठ बॉक्स ASP.NET नियंत्रण विकसित किया गया था होना करने के लिए एक इनपुट नियंत्रण की सुविधा देता है कि उपयोगकर्ता पाठ दर्ज करें. डिफ़ॉल्ट रूप से, TextMode की संपत्ति पर नियंत्रण करने के लिए सेट है TextBoxMode.SingleLine, प्रदर्शित करता है जो एक एकल-पंक्ति पाठ बॉक्स है । हालाँकि, आप भी उपयोग कर सकते हैं पाठ बॉक्स नियंत्रण प्रदर्शित करने के लिए एक एकाधिक पंक्ति पाठ बॉक्स या एक पाठ बॉक्स है कि मास्क उपयोगकर्ता इनपुट को बदलकर मूल्य के TextMode संपत्ति के लिए TextBoxMode.बहु या TextBoxMode.पासवर्ड, क्रमश:.

    प्रदर्शित पाठ में पाठ बॉक्स नियंत्रण में निर्दिष्ट किया जाता है, या निर्धारित किया जाता का उपयोग करके पाठ की संपत्ति है । पाठ बॉक्स नियंत्रण में शामिल कई गुण है कि आप की अनुमति के लिए नियंत्रण की उपस्थिति का नियंत्रण है । प्रदर्शन की चौड़ाई पाठ बॉक्स में, वर्ण, द्वारा निर्धारित किया जाता है अपने कॉलम में संपत्ति. यदि पाठ बॉक्स नियंत्रण है एक एकाधिक पंक्ति पाठ बॉक्स में, पंक्तियों की संख्या प्रदर्शित करता है द्वारा निर्धारित किया जाता है पंक्तियों की संपत्ति है ।

    प्रदर्शित करने के लिए पाठ लपेटता है कि के भीतर पाठ बॉक्स नियंत्रण सेट लपेटो करने के लिए गुण सत्य. आप भी निर्दिष्ट कर सकते हैं कि कैसे डेटा में प्रवेश किया है, पाठ बॉक्स नियंत्रण की स्थापना करके एक ही गुण है । को रोकने के लिए पाठ में प्रदर्शित नियंत्रण संशोधित किया जा रहा से, केवल पढ़ने के लिए सेट करने के लिए गुण सत्य. यदि आप चाहते हैं करने के लिए सीमा के उपयोगकर्ता इनपुट के लिए एक निर्दिष्ट वर्णों की संख्या, सेट MaxLength संपत्ति है ।

  • The TextBox ASP.NET control was developed to be an input control that lets the user enter text. By default, the TextMode property of the control is set to TextBoxMode.SingleLine, which displays a single-line text box. However, you can also use the TextBox control to display a multiline text box or a text box that masks user input by changing the value of the TextMode property to TextBoxMode.MultiLine or TextBoxMode.Password, respectively.

    The text displayed in the TextBox control is specified or determined by using the Text property. The TextBox control contains several properties that allow you to control the appearance of the control. The display width of the text box, in characters, is determined by its Columns property. If the TextBox control is a multiline text box, the number of rows it displays is determined by the Rows property.

    To display text that wraps within the TextBox control, set the Wrap property to true. You can also specify how data is entered in the TextBox control by setting a few properties. To prevent the text displayed in the control from being modified, set the ReadOnly property to true. If you want to limit the user input to a specified number of characters, set the MaxLength property.