how to bind objects to gridview

Posted by prince23 on Stack Overflow See other posts from Stack Overflow or by prince23
Published on 2010-05-09T12:51:38Z Indexed on 2010/05/09 12:58 UTC
Read the original article Hit count: 450

Filed under:

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

© Stack Overflow or respective owner

Related posts about ASP.NET