I want user key in CAPITAL LETTER in combobox and textbox

If you simply want the text to be in uppercase after it is loaded or type use .ToUpper() on the entire string.

If you want the user input to appear uppercase as they type, in the text box.OnTextChanged event get the last character typed, which will be the last character of the text in the text box, and use .ToUpper() on it then concatenate it back onto the rest.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.