.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Code Snippets >> Validations >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Select All string in TextBox using C#.Net

Posted By:Narayanan       Posted Date: December 13, 2012    Points: 40    Category: Validations    URL: http://www.dotnetspark.com  

Here , I give Select All String when user Clicks Ctrl+A Key Button in C#.Net

This is a Code for Select All Characters in the Text Box when user clicks Control+A Key

Copy and Paste this Code in your Text Box Key down Event

  if ((e.Control == true) && (e.KeyCode == Keys.A))





Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend