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 "

Ravi SangtaniRank #1,947 · 751 reputationPosted Nov 1, 2016, 3:57 AM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Nov 1, 2016, 4:29 AM EDT
Salman BegRank #284 · 8.8K reputationPosted Nov 1, 2016, 4:30 AM EDT