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

مشاهدة النسخة كاملة : Loading data from selected row in datagridview into dialog box



C# Programming
04-02-2009, 03:01 PM
Hi everyone,

I've got a dialog box with checkboxes, comboboxes and textboxes for filling in. I have it saving perfectly into my access database. On this dialog I have Load button, which opens a new dialog. This has a search textbox, a datagridview and a few buttons. The datagridview displays the contents of the database.

I would like to be able to get the information in the selected row of the datagridview and load that into the original dialog. I have tried to figure it out myself, but my C# knowledge is limited.

I don't really have any code for loading, but If i write anything i'll get it posted.

Any direction in this would be greatly appreciated.

Many thanks
Martin