Some Important Points.
1) Differece
Between Static Method and Normal Methods
=>Static
method should start with static keyword.
=>Normal
Method should start with Private ,Protected or Public.
=>we
can't use this keyword in Static Method. In Normal Methods We Can.
=>We
can Access the Static Method Using the Scope Resulution Operator(::).
=>But
Normal methods we can access with in the class using the "THIS"
keyword.
2) Display
Method Precautions
=> Create Display method in Table
Level and It should returns a value.
=> In form level create the one
field and set Datasource for that field is mandatory after you should mention
the property Datamethod. In that Property you need to mention the display
method name with out brackets.
No comments:
Post a Comment