Click here to Skip to main content
16,015,755 members
Home / Discussions / C#
   

C#

 
GeneralRe: Use from dataReader to bind data to a data gridview Pin
Member 1332584616-Mar-18 1:45
Member 1332584616-Mar-18 1:45 
Questiona simpler binding technique for WinForms ? request for code review Pin
BillWoodruff1-Mar-18 2:22
professionalBillWoodruff1-Mar-18 2:22 
AnswerRe: a simpler binding technique for WinForms ? request for code review Pin
Richard Deeming1-Mar-18 3:49
mveRichard Deeming1-Mar-18 3:49 
GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
BillWoodruff1-Mar-18 7:27
professionalBillWoodruff1-Mar-18 7:27 
AnswerRe: a simpler binding technique for WinForms ? request for code review Pin
Eddy Vluggen1-Mar-18 9:23
professionalEddy Vluggen1-Mar-18 9:23 
GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
BillWoodruff1-Mar-18 23:53
professionalBillWoodruff1-Mar-18 23:53 
GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
Eddy Vluggen2-Mar-18 4:20
professionalEddy Vluggen2-Mar-18 4:20 
GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
BillWoodruff2-Mar-18 4:58
professionalBillWoodruff2-Mar-18 4:58 
Appreciate your comments !
Eddy Vluggen wrote:
TBoxes is an abbreviation (hope I spelled that right). Since it is a private property, I wonder whether it should be a private field, an internal/public property, or a read-only property.
The goal is to keep that list of TextBoxes local, unchanged. In fact, in the code for the Class I use a read-only Property: public List<T> SyncObjects { get; } to store the TextBoxes. In the usage example the property is private, but, yes, it would be better to make that read-only.

Re: your code example: what does "Port" refer to ? Mapping a Property of one Control to another in WinForm is one of the simpler databinding tasks, but, in this case the tricky part is that the List elements change, not the Control ... am I missing the point ?
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12

GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
Eddy Vluggen2-Mar-18 5:18
professionalEddy Vluggen2-Mar-18 5:18 
GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
BillWoodruff2-Mar-18 6:33
professionalBillWoodruff2-Mar-18 6:33 
QuestionRe: a simpler binding technique for WinForms ? request for code review Pin
Eddy Vluggen2-Mar-18 8:27
professionalEddy Vluggen2-Mar-18 8:27 
AnswerRe: a simpler binding technique for WinForms ? request for code review Pin
BillWoodruff4-Mar-18 14:50
professionalBillWoodruff4-Mar-18 14:50 
GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
Eddy Vluggen5-Mar-18 1:30
professionalEddy Vluggen5-Mar-18 1:30 
AnswerRe: a simpler binding technique for WinForms ? request for code review Pin
Gerry Schmitz2-Mar-18 6:20
mveGerry Schmitz2-Mar-18 6:20 
GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
BillWoodruff2-Mar-18 6:27
professionalBillWoodruff2-Mar-18 6:27 
GeneralRe: a simpler binding technique for WinForms ? request for code review Pin
Gerry Schmitz2-Mar-18 6:43
mveGerry Schmitz2-Mar-18 6:43 
QuestionNeed to export data from sql server to excel sheet in windows application Pin
Shankar M28-Feb-18 23:36
Shankar M28-Feb-18 23:36 
AnswerRe: Need to export data from sql server to excel sheet in windows application Pin
Richard MacCutchan28-Feb-18 23:56
mveRichard MacCutchan28-Feb-18 23:56 
GeneralRe: Need to export data from sql server to excel sheet in windows application Pin
Shankar M1-Mar-18 0:07
Shankar M1-Mar-18 0:07 
AnswerRe: Need to export data from sql server to excel sheet in windows application Pin
Gerry Schmitz1-Mar-18 8:01
mveGerry Schmitz1-Mar-18 8:01 
QuestionHow can i get the json data in to c# object Pin
Member 1370260728-Feb-18 18:20
Member 1370260728-Feb-18 18:20 
AnswerRe: How can i get the json data in to c# object Pin
Eddy Vluggen1-Mar-18 9:33
professionalEddy Vluggen1-Mar-18 9:33 
QuestionHow to open P to P Conference system in VB community? Pin
Member 1370237428-Feb-18 14:42
Member 1370237428-Feb-18 14:42 
AnswerRe: How to open P to P Conference system in VB community? Pin
Dave Kreskowiak28-Feb-18 15:27
mveDave Kreskowiak28-Feb-18 15:27 
QuestionRe: How to open P to P Conference system in VB community? Pin
Member 1370237428-Feb-18 16:06
Member 1370237428-Feb-18 16:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.