Sort Datagridview by Two Columns
问题 I have a datagridview that contain 3 columns. But I hv not bind a datasource to datagridview. It has three columns. EmpName,InTime,OutTime I can edit EmpName in datagridview. I want to sort the content in the datagridview after i edit a row. I want to sort first by EmpName and then by InTime. The time is in AM , PM Time format (Ex: 2:00 PM). I can sort data by only one column. I have used, dgvSchedule.Sort(dgvSchedule.Columns[0],ListSortDirection.Ascending); But how to sort by multiple