TXT 0 Newbie Poster

Dear All,

I encountered the same problem with Miguel Piedade.
http://www.codeproject.com/cs/miscctrl/DataGridZen.asp?df=100&forumid=31224&exp=0&select=886730#xx886730xx

Using SelectedIndexChanged to change another column on the datagrid

Original Message as below,
--------------------------
I have a DataGrid with our wonderful combobox for the ProductCode, and have some following columns that need to be filled with some other information that relates with the Product (Description, Capture method etc.) This other columns are plain textboxes, and I have been struggling to get the SelectedIndexChanged from our Combobox Class to change this columns of my dataset.
I am a rookie in C#, so I guess my problem is that in the ComboBox Class I do not have access to my dataset (that is on the main form Class) and in the main form Class I do not have access to the ComboBox.SelectedIndexChanged event.
--------------------------

Does anyone gives me tips or sample code about this problem?

Thanks.

Best Regrads,

TXT

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.