Convert Text to UpperCase While Typing TextBox in Asp.Net C#

Go to the design page - select Textbox- put to style below like that 



<asp:TextBox style="text-transform :uppercase" ID="txtCompanyName" runat="server"></asp:TextBox>


next coding part put the textbox id values below call it.


textbox1.Text.ToUpper();  use to insert command 


textbox1 is a Id values whatever want you to use it the ID name




0 comments:

Post a Comment