Re: Can you avoid pulling the primary key ID and tstamp with a bound datagrid
From: Miha Markic [MVP C#] (miha)
Date: 07/19/04
- Next message: Arno Huetter: "NullReferenceException caused by CurrencyManager/DataView/RecordManager"
- Previous message: Earl: "Can you avoid pulling the primary key ID and tstamp with a bound datagrid"
- In reply to: Earl: "Can you avoid pulling the primary key ID and tstamp with a bound datagrid"
- Next in thread: Kevin Yu [MSFT]: "Re: Can you avoid pulling the primary key ID and tstamp with a bound datagrid"
- Reply: Kevin Yu [MSFT]: "Re: Can you avoid pulling the primary key ID and tstamp with a bound datagrid"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 19 Jul 2004 09:27:24 +0200
Hi Earl,
No, there isn't. How would you otherwise know that the record was modified?
Of course, you can blindy try to delete records but I wouldn't suggest you
this way :-)
-- Miha Markic [MVP C#] - RightHand .NET consulting & development miha at rthand com www.rthand.com "Earl" <brikshoe@newsgroups.nospam> wrote in message news:eVjTxCWbEHA.1656@TK2MSFTNGP09.phx.gbl... > My delete SPs uses the simple structure of checking for the original primary > key and a timestamp. When I use currencymanager to delete a record from the > DataGrid, I've noticed that if I do not have the primary key and the > timestamp in the Select statement to populate the datagrid, I obviously > cannot delete. Yet I have no need for the primary key or timestamp otherwise > when I pull that data. It might seem like splitting hairs, but is there a > better technique that does not pull across unused data? > >
- Next message: Arno Huetter: "NullReferenceException caused by CurrencyManager/DataView/RecordManager"
- Previous message: Earl: "Can you avoid pulling the primary key ID and tstamp with a bound datagrid"
- In reply to: Earl: "Can you avoid pulling the primary key ID and tstamp with a bound datagrid"
- Next in thread: Kevin Yu [MSFT]: "Re: Can you avoid pulling the primary key ID and tstamp with a bound datagrid"
- Reply: Kevin Yu [MSFT]: "Re: Can you avoid pulling the primary key ID and tstamp with a bound datagrid"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|