1
Answer

Combobox that after selection saves values in textboxes.

Ask a question
Dealy

Dealy

15y
3.7k
1
Hello,

I have a combobox that gets values from a stored procedure (CODE,DESCRIPTION) as following:
combo1.ValueMember=CODE
combo1.DisplayMember=DESCRIPTION

Is it possible to have a stored procedure (CODE,DESCRIPTION,EXPR1,EXPR2) as following:
combo1.ValueMember=CODE
combo1.DisplayMember=DESCRIPTION

on combobox change:
textbox1.Text=EXPR1
textbox2.Text=EXPR2

Is it possible?

Thank you in advance!


Answers (1)