Windows Forms - Datagrid sort by hidden column

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi,

I'm working on a Windows App. where I have a datagrid column, "Time
Left" which displays time in months and days (in String format). eg : 1
month 22 days. Now i have another column which is hidden called "Days
Left" with Time strictly in days only. eg : 52 (Integer format).

I'm trying to sort my datagrid on the hidden "Days Left" column when
the "Time Left" header column is clicked in the datagrid.

Any code / suggestions would be appreciated.

Thanks in Advance,
Mr. Zee

.


Quantcast