/[xmltv_parser]/trunk/xmltv_parser/main.cs
ViewVC logotype

Diff of /trunk/xmltv_parser/main.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 122 by william, Sun Mar 10 19:22:06 2013 UTC revision 126 by william, Sun Mar 10 20:19:33 2013 UTC
# Line 217  namespace xmltv_parser Line 217  namespace xmltv_parser
217              //source.DataSource = XMLTV.GetPrograms();              //source.DataSource = XMLTV.GetPrograms();
218              //dataGrid.DataSource = source;              //dataGrid.DataSource = source;
219    
220              dataGrid.DataSource = XMLTV.CreateBindingSourceForData(XMLTV.GetPrograms());              object datasource = XMLTV.CreateDataSourceFromObject(XMLTV.GetPrograms());
221    
222               XMLTV.CreateSorterFromDataSource(ref datasource, "title");
223    
224                dataGrid.DataSource = datasource;
225    
226          }          }
227    

Legend:
Removed from v.122  
changed lines
  Added in v.126

  ViewVC Help
Powered by ViewVC 1.1.22