I have a datagrid with a number of fields. Among them are [CompanyName] and [CompanyType]. In Edit mode, [CompanyName] is a drop-down list, and [CompanyType] remains a label.
Whenever the value in [CompanyName] is changed, I need to search a table for the appropriate company type, and change the [CompanyType] value.
I know that I need to use the OnSelectedIndexChanged function of the [CompanyName] drop-down, but I am having trouble with the code.
Has anyone done this type of thing before, or can you point me in the right direction?
Thanks,
BoydM
Whenever the value in [CompanyName] is changed, I need to search a table for the appropriate company type, and change the [CompanyType] value.
I know that I need to use the OnSelectedIndexChanged function of the [CompanyName] drop-down, but I am having trouble with the code.
Has anyone done this type of thing before, or can you point me in the right direction?
Thanks,
BoydM