In a C# 2010 application, I need to make a change where some
logic is hard-coded and I want to obtain the values from a sql server 2008 r2 database.
Before I make any changes, I want to make certain I understand how the existing logic work.
In a microsoft training class for C#.net, I learned about delegates
and worked on 'labs' to teach you the concepts.
When you look at the code I listed below:
LabelCustomerName.Text += transaction.CustomerName;
LabelCustome_Status.Text += transaction.Customer_Status;
you can see the customer name and customer_status are placed into
textboxes.
I am guessing that the fields to the right of the += are delegates.
If this is true, can you tell me how to find the original location where the values are obtained from?
If these are not delegates, can you tell me and/or point me to a reference that will help me determine where the orginal values are obtained from?
Should I use system.reflections? If so, can you tell me what code to use so I would know how to use system.reflections?