Total Page Preview: 000000006204
What is text area in ASP.NET in English and Hindi
Text area in ASP.NET in English
In ASP.NET, a textarea is an HTML element used to create a multi-line text input field on a web page. The textarea element is used to get user input for comments, feedback, messages, or any other type of text input where a single line text input field is not enough.
Here is an example of how to use textarea in ASP.NET HTML:
In the above example, the textarea element is created with an id attribute of comments and a name attribute of comments. The rows and cols attributes are used to specify the size of the text area. The label element is used to give a name to the textarea element.
When the user submits the form, the value of the textarea is sent to the server along with the other form values. In ASP.NET, you can retrieve the value of the textarea using the Request object in the code-behind file.
Text area in ASP.NET in Hindi
ASP.NET mein, textarea ek HTML element hai jo web page par multi-line text input field create karne ke liye use hota hai. textarea element ko comments, feedback, messages, ya kisi bhi text input ke liye use kiya jata hai jahan single line text input field kaafi nahi hota.
Yahan ek textarea ka example ASP.NET HTML mein diya gaya hai:
Upar diye gaye example mein, textarea element ko comments ka id attribute aur comments ka name attribute diya gaya hai. rows aur cols attributes ka use text area ki size specify karne ke liye kiya jata hai. label element textarea element ka naam dene ke liye use kiya jata hai.
Jab user form submit karta hai to, textarea ki value dusre form values ke sath server ko send ki jati hai. ASP.NET mein, code-behind file mein Request object ka use karke textarea ki value retrieve ki ja sakti hai.
Thank You
About Author
Brijesh Kumar
Database Developer
I have more then 6 years Experience in Microsoft Technologies - SQL Server Database, ETL
Azure Cloud - Azure SQL Database, CosmosDB, Azure Data Factory, PowerBI, Web Job, Azure Function, Azure Storage, Web Apps, Powershall
and Database Migration On-Premise to Azure Cloud.
LinkedIn : https://www.linkedin.com