المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : sort datagridview



C# Programming
02-04-2010, 07:00 AM
Hi all, I have two questions .
1. How do I copy one datagridview to another.
2. how do I sort a specefic column. for example I have
col A, colB, colC. I want to sort colB only when data is loaded.
for copying or loading from one grid to another I have done something like this
and it is working but not sure it is a right thing to do or not.
for (int j = 0; j <span class="code-keyword">