Properti Rows ASP.NET
Definisi dan Penggunaan
Properti Text digunakan untuk menata atau mengembalikan teks Kontrol TextBox.
Syarat
<asp:TextBox Text="string" runat="server" />
Properti | Deskripsi |
---|---|
string | Nilai string, menentukan teks Kontrol TextBox. |
Contoh
Contoh di bawah ini menata teks Kontrol TextBox:
<form runat="server"> <asp:TextBox id="tb1" runat="server" Text="Name" /> </form>
Contoh
- Atur teks untuk Kontrol TextBox