Dealy

Dealy

  • NA
  • 213
  • 0

Combobox that after selection saves values in textboxes.

Sep 28 2009 5:24 AM
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)