Prevent users from editing text in ComboBox-DOT NET
How we can prevent users of the application from editing a text in ComboBox controls in the .NET 4.0?
Expert
ComboBox class has DropDownStyle property that is used to describe display style of an item in a ComboBox control. DropDownStyle property allows the value from a ComboBoxStyle enumeration that contains three members to describe styles for items like: DropDownList, Simple and DropDown. DropDownList value of a ComboBoxStyle enumeration is selected to set ComboBox control as non-editable by the users, as described in the following code:
Code for C#:
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
Code for VB:
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
Explain DataReader object?
Provide a detailed introduction on the Side-by-side execution. May two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executable?
Illustrate the term lazy initialization?
Illustrate the Session state in the ASP.NET.
How a condition can be implemented in the workflow?
Briefly explain about Web server controls in ASP.NET?
Specify the syntax which is be used to inherit from a class in C#?
Which type of code, a client-side or a server-side, is found in the code-behind file of the Web page?
How can you send an email message through an ASP.NET Web page?
Elucidate how you create a permanent cookie?
18,76,764
1936017 Asked
3,689
Active Tutors
1423944
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!