- Jun 6, 2020
- 11,559
- 4,422
Hi,
I want to use Options in PreferencesDialog which apect list. How can I add list with exact index from ms sql table (Options list need to contains f.e. DepartmentID and DeparmentName); user will pick the DeparmentName and system should writte DeparmentID in sql table...
I cann fullfill Options list with Sql quiry (from ms Sql db), but I receive list with all options. I declared custom type - how can I get in Option list just Names, connected behind wiht ID-s:
My Code for fulfil Options list is here:
Example code:
I want to use Options in PreferencesDialog which apect list. How can I add list with exact index from ms sql table (Options list need to contains f.e. DepartmentID and DeparmentName); user will pick the DeparmentName and system should writte DeparmentID in sql table...
I cann fullfill Options list with Sql quiry (from ms Sql db), but I receive list with all options. I declared custom type - how can I get in Option list just Names, connected behind wiht ID-s:
برای دیدن تصاویر باید ثبت نام کنید
My Code for fulfil Options list is here:
Example code:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید