at form load the combox will be loaded with a datatable of Product Codes. what i need to load is the according product name to the textbox. User selects a Product code from the drop down and it will fecth a Product name of that Product code from the database at formload() i need to set the SelectedIndex of the combox to -1 .... only when the user selects the a product code from the drop down it loaded product name to the textbox... the problem that im facing is that, when form loads, it throws an error as:
How do i fix this error? thanks
Answers
Know the answer? Post it. Somebody with the same question will find it here.
Answers
Know the answer? Post it. Somebody with the same question will find it here.