C#DataGridview 中固定列头 绑定数据源


//绑定标题

dataGriSFC.Columns[0].HeaderText = "工单号";

//绑定数据源属性名
dataGriSFC.Columns[0].DataPropertyName = "WONO";

相关