BindingList 排序怎么实现啊,请教各位大神指点一下。代码如下
public class ModuleFormAppField
{
public string table_name { get; set; }
public string table_caption { get; set; }
public string id { get; set; }
public string form_id { get; set; }
public string application_code { get; set; }
}
public BindingList<Model.ModuleFormAppField> BindFormAppFields = new BindingList<ModuleFormAppField>();
根据table_name排序,求各位大神指点。
var BindFormAppFields = new BindingList<ModuleFormAppField>();
var array = BindFormAppFields.OrderBy(t => t.table_name).Cast<ModuleFormAppField>().ToArray();
谢谢哥们了哈
这个很难吗??不就是一个排序的问题吗??
会的话给下排序代码吧!!!