Sorting in windows application
Hiii,
I have a datagrid, to which I haved assigned values from database. Now using up/down buttons from column header i am trying to sort grid, but it is not doing sorting properly....
Example: i have column named LoanId. there are id's like 1,2...10,11...20...
now if i click on column Header Loan Id den it gives me result as 1,10,2,20,.....
i want result as 1,2,...10,11,....
can anyone help me?
thx n Regards
Amruta