how to bind objects to gridview
- by prince23
hi,
i am calling an webservice where my webservice is returing an object( which contains data like
empid name
1 kiran
2 mannu
3 tom
WebApplication1.DBLayer.Employee objEMP = ab.GetJobInfo();
now my objEMP has this collection of data
empid name
1 kiran
2 mannu
3 tom
how can i convert this object into( datatable or LIst) and bind to gridview
thanks in advance