I have tables like that in Datagridview:
DatagridView:
Name Company(*) Planing
----------------------
Hi A A1
Ki B B1
----------------------
*) column Company as name of table in database
#) column Planing as name of Column in Table A.
Table A
A1 A2 A3
----------------------
S1 S2 S3
----------------------
Table B
B1 B2 B3
----------------------
T1 T2 T3
----------------------
Actually i want to change Planing column in DatagridView with columnCombobox.
I am using WPF C#. database using mySQL.
I have try many sample using combo-box and so on, still stuck cannot get data according to the database.
THE CASE:
when i click in cell in datagridView field "Planing" i will select it the column name according to data.
Please need Help
Thanks.
DatagridView:
Name Company(*) Planing
----------------------
Hi A A1
Ki B B1
----------------------
*) column Company as name of table in database
#) column Planing as name of Column in Table A.
Table A
A1 A2 A3
----------------------
S1 S2 S3
----------------------
Table B
B1 B2 B3
----------------------
T1 T2 T3
----------------------
Actually i want to change Planing column in DatagridView with columnCombobox.
I am using WPF C#. database using mySQL.
I have try many sample using combo-box and so on, still stuck cannot get data according to the database.
THE CASE:
when i click in cell in datagridView field "Planing" i will select it the column name according to data.
Please need Help
Thanks.