If you want to make the textbox control in EditForm to uneditable, then you can try the following code snippet for setting the TextBox's ReadOnly property to True.
Also setting the ReadOnlyproperty for the columns will make the column not ediatable, but the textbox control will not render in editmode for the particular column.