Re: update datagrid
- From: "John" <me@xxxxxx>
- Date: Sun, 13 Aug 2006 11:52:12 -0400
even though i'm not using a typed dataSet and using a datalayer for all my
updates, connection to the database?
do you have an snippet I can see how this is done?
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx> wrote in
message news:%23bqq4YjvGHA.4512@xxxxxxxxxxxxxxxxxxxxxxx
If you load the changes back into your dataset, they will be flagged
(internally) as changed. You can then connect to the DataAdapter, call
Update(), and only those rows will be sent to the database (new or
changed). This is part of the default behavior of ADO.NET.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
*************************************************
Think outside of the box!
*************************************************
"John" <me@xxxxxx> wrote in message
news:%23n$2OcivGHA.1772@xxxxxxxxxxxxxxxxxxxxxxx
I have an editable datagrid and when the user clicks update how can i
update only the changed rows? Im' not using a typed dataset, so how can i
update only the changed rows to the database?
.
- References:
- update datagrid
- From: John
- Re: update datagrid
- From: Cowboy \(Gregory A. Beamer\)
- update datagrid
- Prev by Date: Re: very urgent...
- Next by Date: Re: Get a single value from SQLDataSource
- Previous by thread: Re: update datagrid
- Next by thread: Replace function in DataList from vb to c#
- Index(es):
Relevant Pages
|