i write this code in my project:
DatabaseDataContext dataContext = new DatabaseDataContext();
IQueryable<Available_Time_Teacher> att = from r in dataContext.Available_Time_Teachers
where r.Teacher_ID == id
select r;
dataGrid1.ItemsSource = att;
when i change in tables in datagrid how the change can submit on database.