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

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



C# Programming
06-23-2012, 03:30 AM
I have a Listbox that show items from a database. I have a button that I want to use to show details of an item selected. Right now I click the button and a new window opens with all the records in a DataGridview, but it defaults to the top of the list. I want it to go directly to that record when I click the button instead of having to scroll to find it. Could someone point me in the direction I need to go to find the method I need to use. Not asking for a ride, just directions.
My favorite bits make quarters.