我有一个gridview与以下列。 我想根据状况进行排序的GridView。红色状态应该首先(上),然后是绿色状态。 请建议我该怎么办? 这是我的代码: Using (OracleCommand cmd = new OracleCommand("SELECT Instance,ServerName,IPFQDN,Status from server_interspc"))
{
usin
这是类: public static List<MasterReject> GetData()
{
var context = new FingerScanContext();
return (from a in context.MasterRejects
select a).ToList();
}
这就是我所谓的网格视图: InitializeComponent();
List<