数据库查找出list数据,进行处理
var list = WorkBillViceService.GetWokrBillvice(workbillid).OrderBy(p=>p.WorkBillNo).ToList();查出来的某一列就行排序
this.krydgvworkbillvic.DataSource = list;
this.Text = list[0].WorkBillNo; 把某个字段给textbook显示