how do u make a text box uneditable at runtime, the value is shown in the textbox but the value cannot be changed,
how can i do this,??


TextBox class has the property ReadOnly... set it to true... you can do that in the properties window or in the code...

if it comes to combo box there is no ReadOnly property... so depending on what you want to do you can f.ex. use DropDownStyle property (if you select DropDownList there's no way to put values other than from list) or Enable..

u have describe to select values only from the combo box with out allowing the user to enter the details.how can i make the user to not to select items in the combo box and allow a value entered earlier to display, the user cannot enter or select details from the combo box


set enable property to false....