Hi all,
I am running one static method where i am running one query to fetch the data from datatable and storing in datatable.
i want to fetch that data table in non static method how to use that?
Thanks,
Simply call the method. What problem are you facing?
Hi sir,
Thanks for your response.
actually in one static method i am running one query and storing the value in datatable and inside i was calling one static method in that i passed datatable and in that method i had to call my gridview to use this datatable but in static method we can't
call the controls.
so for that i made this datatable globally and call it.
i got the solution by my own.
Thanks,
沒有留言:
張貼留言