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

مشاهدة النسخة كاملة : Search in Datagridview



C# Programming
04-16-2009, 03:31 PM
I have a datagridview with 1200+ names in it. My users want to type in a few letters (in a separate textbox) of a name and jump to the first name starting with these letters. I have a special column named shortname for this purpose.

I've made a dataview with the filter option, and that works but only the names with these letters are shown. What my users want is the complete list (sorted by short name), and the first occurance of the search letters selected.

can anybody point me in the right direction ?

I'm using C#2008

Thanks in advance,

Rob