private void btOpslaan_Click(object sender, RoutedEventArgs e) { string sUitleg = new TextRange(rbUitleg.Document.ContentStart, rbUitleg.Document.ContentEnd).Text; dbs.newLes(loID, tbNaam.Text, sUitleg, this, user); }