Re: problem with having a delete in database propagate to a bound data
From: W.G. Ryan eMVP (WilliamRyan_at_gmail.com)
Date: 10/21/04
- Next message: Mr. B: "VB.Net (ADO): Thoughts on Copying 7 tables to 1 table"
- Previous message: Jon Skeet [C# MVP]: "Re: Access datetime format problem?"
- In reply to: RJ: "problem with having a delete in database propagate to a bound data"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 21 Oct 2004 11:02:59 -0400
When you are refreshing the datatable - are you clearing it first? If not,
then the rows will be appended to the end and the datatable will appear to
have that row.
-- W.G. Ryan, MVP www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com "RJ" <RJ@discussions.microsoft.com> wrote in message news:8B17C6DF-7857-4BFA-8243-EE04B727A218@microsoft.com... > Hi, > I have notice something with the datagrid update > i have an application which is updated from multiple sources > when one user deletes a row on the datagrid, the delete propgates back to > the database. I see it is gone, from the database by using the SQL query > analyzer. > but, when other users app calls it's fill command to refresh it's datatable, > It sees the already deleted row. > what am i doing wrong? > > >
- Next message: Mr. B: "VB.Net (ADO): Thoughts on Copying 7 tables to 1 table"
- Previous message: Jon Skeet [C# MVP]: "Re: Access datetime format problem?"
- In reply to: RJ: "problem with having a delete in database propagate to a bound data"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|