タイトル : Re: ADO.NETでのデータ更新について 投稿日 : 2004/10/28(Thu) 08:59 投稿者 : るしぇ
主キーの情報をデータベースから取得してみて下さい。 [VB.NET] objAdp.MissingSchemaAction = MissingSchemaAction.AddWithKey objAdp.Fill(objTbl) If objTbl.PrimaryKey.Length = 0 Then MessageBox.Show("主キーの情報を取得できませんでした。", "データベース検索", MessageBoxButtons.OK, MessageBoxIcon.Error) End If |