SharePoint : How to hide a field from the Edit Form?

I am not sure, how this can be achieved thro' UI. But here, Sharepoint Object model helps us.

localhost.Lists listService = new localhost.Lists();

            listService.Credentials= System.Net.CredentialCache.DefaultCredentials;

            XmlDocument xmlDoc = new System.Xml.XmlDocument();

            XmlNode ndUpdateFields = xmlDoc.CreateNode(XmlNodeType.Element, "Fields", "");

            ndUpdateFields.InnerXml = "<Method ID='1'>" +

                                                            "<Field ReadOnly='True' ShowInEditForm = 'FALSE' Type='Number' Name='_x0043_ol1' DisplayName='Col1'/>" +




                        XmlNode ndReturn = listService.UpdateList("Events", null, null, ndUpdateFields, null, null);



            catch (Exception ex)


                        MessageBox.Show("Message:\n" + ex.Message + "\nStackTrace:\n" + ex.StackTrace);