<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>ADO.NET</anon>
  </categories>
  <description>ADO.NETにて一旦Deletedとマークされた行からデータを取得しようとすると通常エラーがでます。 それを回避するためには以下のようにします。 カラムの値を取得する際にDataRowVersion.Originalを指定する。 要は削除前の値として取得するようにするという事ですね。 ちなみに、Deletedとマークされても行データ自体は通常通り取得できます。 エラーが発生するのは、その行の各データにアクセス使用とした場合です。 以下、サンプルです。 protected void Execute(){ // // ここまでの間で、DataTableを取得もしくは作成し、1行目をDeleteし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20080214%2Fp1&quot; title=&quot; ADO.NET入門記-015 (Deletedとマークされた行からデータを取得する) - いろいろ備忘録日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-02-14 00:00:00</published>
  <title> ADO.NET入門記-015 (Deletedとマークされた行からデータを取得する)</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/20080214/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
