How Can I add a table to the LINQ Data Source
1- I did a Copy of ManufactureList and ManufacturerProducts called ApplicationList and ApplicationProducts
2- I Added the two new blocks to DCS_Block_Type_lkp and map tables
My ApplicationList control works as a block, but I want to Link it to ApplicationProducts
Thsis is the Page load event :
protected void Page_Load(object sender, EventArgs e) {
...
using (DSCComDataContext dc = DSCComDataContext.GetDataContext()) {
application = dc.Applications.Single(m => m.ApplicationId == applicationId);
}
I need to assign my query : All products of selected application. instead of the upper code
Application is my object instead of Manufacturer
|