I'm getting a web service response as List<T> and at the moment I'm assigning it to a datagrid data source: i.e.
Exams.ExamBookingService.ExamBookingServiceSoapClient target = new Exams.ExamBookingService.ExamBookingServiceSoapClient();
esr = target.GetActiveExams("O6UJ9A001SUJ", "241222576");
GridView1.DataSource = esr.ExamsDisplay;
The problem is I don't want to show all the column in the list but rather want only the few columns in my grid. How do I manipulate the columns in the grid at run time and where do I assign the datasource to the grid?
Please someone help me?
Thanks in advance!