This question is locked. New answers and comments are not allowed.
Hi there,
I'm new in the Open Access ORM and testing the base functionalities. In my first steps i need for your assistance:
I'm binding a table to a RadGridView, so everything is fine, i can edit the values in the grid and send it back in to database trough .SaveChanges() method.
Next wich appeared in my mind is case on wich i want to change a column in the gridview with a combobox column with values from another related table. For example if i have two tables:
Products {
id(int)
ProductName(varchar)
OriginCountryId(int)
} and
Countries {
id(int)
CountryName(varchar)
}
I want to change the OriginCountryId values in Products GridView/Database table trough select a CountryName from combobox in the grid. I know that there is a way to do this with standard coding but wondering is there a way in wich ORM/LINQ gives a better solution.
Regards,
Simeon
I'm new in the Open Access ORM and testing the base functionalities. In my first steps i need for your assistance:
I'm binding a table to a RadGridView, so everything is fine, i can edit the values in the grid and send it back in to database trough .SaveChanges() method.
Next wich appeared in my mind is case on wich i want to change a column in the gridview with a combobox column with values from another related table. For example if i have two tables:
Products {
id(int)
ProductName(varchar)
OriginCountryId(int)
} and
Countries {
id(int)
CountryName(varchar)
}
I want to change the OriginCountryId values in Products GridView/Database table trough select a CountryName from combobox in the grid. I know that there is a way to do this with standard coding but wondering is there a way in wich ORM/LINQ gives a better solution.
Regards,
Simeon