I have three tables in sql server statesincountries(countryid, stateid) countries(countryid,countryname) states(stateid,statename) correspondingly three tables in dataset created in C#(WPF). the data grid has two columns for countryid, stateid of statesInCountries
table and each column has DataGridTemplateColumn--DataGridTemplateColumn.CellTemplate--datatemplate--combobox.
the first column combobox is bind to countries.defaultview and second column to states.defaultview. the first column combobox is working fine but when I change the country in a particular row the combobox containing the states
does not get populated with states of that country in aforesaid row. please help....
↧