I'm trying to setup a form to search for data within an existing DataTable. Please help me fill in the blanks below:
I could hard-code in the column names ("WO_Number",WO_CustID","CustLastName", etc...), but would prefer to pick this up dynamically (partly because I want to reuse this code later).
Thanks in advance.
FilterColumnsComboBox.DataSource = WOTable.Columns? FilterColumnsComboBox.DisplayMember = ??? FilterColumnsComboBox.ValueMember = ???
I could hard-code in the column names ("WO_Number",WO_CustID","CustLastName", etc...), but would prefer to pick this up dynamically (partly because I want to reuse this code later).
Thanks in advance.