Here i created an application consists of 2 combo boxes 1 combobox contains a list of devices & the other contains its operations.
When I select a device & its operation the equivalent unique code must be printed in Textbox1,but its givong following errors
"Index was outside the bounds of Array".
&
If i want to change the unique code for each operation as printed in textbox on clicking the button located below it what is the logic behind it to save the new ones
Loading
VulpesPosted Feb 9, 2012, 8:13 AM
Notice that you'll need to make some variables into fields rather than local variables so they can accessed from the textBox1_Click eventhandler.
Also, it's only necessary to load the Hashtable once:
// these variables need to be fields rather than local variables