what main diff b/w display and edit methods

what is main difference between display and edit methods

This has been discussed here, please search

Additionally have a look here http://msdn.microsoft.com/en-us/library/aa637541.aspx

display :-

Indicates that the method’s return value is to be displayed on a form or a report. The value cannot be altered in the form or report.

edit :-

Indicates that the method’s return type is to be used to provide information for a field that is used in a form. The value in the field can be edited.

I Hope it helps…