prabhu p

prabhu p

  • 2k
  • 181
  • 98.1k

Doubts on Static method

Nov 1 2016 7:33 AM
I have one static method which called from  javascript
 
In that static method i want write Gridview bind coding
 
GridView1.DataSource = Objdt;
GridView1.DataBind();
 
 but it shows this error , How to overcome it,Please reply with code
"An object reference is required for the non-static field, method, or property "

Answers (3)