This question is locked. New answers and comments are not allowed.
Hi!
I am using this code:
When this code execute it shows that row is deleted, but when i refresh page then i can see that row again. Please help me
I am using this code:
public OraDomainContext ctx = new OraDomainContext(); public MainPage() { InitializeComponent(); LoadOperation<People> LoadOperation = ctx.Load(ctx.GetPeoplesQuery()); LoadOperation.Completed += new EventHandler(LoadOperation_Completed); } void LoadOperation_Completed(object sender, EventArgs e) { radGridView1.ItemsSource = ctx.Peoples; } private void button1_Click(object sender, RoutedEventArgs e) { ctx.Peoples.Remove(radGridView1.SelectedItem as People); ctx.SubmitChanges(); }
When this code execute it shows that row is deleted, but when i refresh page then i can see that row again. Please help me