So I have this line: lvwp.ListViewXml.OrderBy.. - after this I have no Idea what to write?
I would like to assign something like:
Combining like this:
lvwp.ListViewXml.OrderBy<FieldRef Name='Index' Ascending='TRUE' />();
will ofcourse not work
I have looked at: http://msdn.microsoft.com/en-us/library/system.linq.enumerable.orderby.aspx , but I just dont get it, Im pretty new with programming and dont really understand concepts like Enumerable and generics
Anyway, is there a simple answer to this?