Here are the VI's that I presented in January's LAF Meeting. Also included are my slides that I used for the meeting.
Note that there are two demo VI's in the project:
- DGV Demo.vi
- This VI demonstrates how to add columns and rows to the DataGridView
- It also shows how to trap the "SelectedIndexChange" event of the DataGridViewComboBoxCell
- Note that within the "CallBack_SelectedIndexChange" event, there is an example of how to have the callback handle the code as well as how to integrate the callback vi back into your main code
- dotNet with SQL Excel Query Demo.vi
- This VI demonstrates how to dynamically change your front panel
- StatusStrip with Labels, TextBox and ProgressBar are all shown
- DataGridView with SQL Data is shown
- The use of SQL (.Net of course!) to query data from Microsoft Excel (This was not an intended part of the demo, I was simply using an Excel workbook as a fake database as I didn't want to have to worry about port forwarding MySQL through my router, or machine down time or any other problem. However there were several people interested in the ability to read from an Excel file without having to have Excel installed on the machine)
Please leave a comment if you have any questions.