Re: Datagridview
- From: "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 22 May 2006 17:44:31 -0400
You're confusing a DataGridViewRow with the underlying data source. A
DataGridViewRow does not have any such properties. A System.Data.DataRow
does. But you need to confirm to us that your DataGridView is bound to a
table first. If so, the DataGridViewRow has a "DataBoundItem" property which
is of type "object." If it is bound to a DataTable, the DataBoundItem
property will be a DataRowView (most likely). A DataRowView has a "Row"
property which is the underlying DataRow. And *that* has a RowState
property.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
The man who questions opinions is wise.
The man who quarrels with facts is a fool.
"Philipp" <styxke@xxxxxxxxxxxxxxxxxxx> wrote in message
news:uLAkPCdfGHA.3652@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,
Is there a way to retrieve the rowstate of a row in a datagridview
(added - modified - deleted - ...) ?
Does someone have some info on this or a document/url where I can read
about it?
Thanks in advance!
Philipp
.
- Follow-Ups:
- Re: Datagridview
- From: Philipp
- Re: Datagridview
- From: Philipp
- Re: Datagridview
- References:
- Datagridview
- From: Philipp
- Datagridview
- Prev by Date: Re: cominterop.dll
- Next by Date: Re: TransparencyKey vb.net 2005 on form works only on developing machine.
- Previous by thread: Datagridview
- Next by thread: Re: Datagridview
- Index(es):
Relevant Pages
|