Re: datagrid update command
From: John Saunders (johnwsaundersiii_at_notcoldmail.com)
Date: 06/04/04
- Next message: John Saunders: "Re: Scrollable Datagrid..."
- Previous message: Chad A. Beckner: "Re: Page Source Code In Memory??"
- In reply to: abdoly: "Re: datagrid update command"
- Next in thread: Scott M.: "Re: datagrid update command"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Jun 2004 12:36:46 -0400
"abdoly" <abdoly@yahoo.com> wrote in message
news:E6D12B13-16B1-4AEE-8CDD-B14474B332A8@microsoft.com...
> sir
>
> according to ur reply i understood that
> first: u believe that may be the value already changed but i cant see it
for some reasons
> i made 3 things to if know that right
> -i display it on a textbox on the form b4 updating the dataset
> this.textBox1.text=str;
> but i always see the old value
> -i updated the dataset with the str and i wrote the dataset to xml file
> after updating it
> this.dataSet11.WriteXml(@"d:\x\x.xml");
> and i checked the file and the old value was there.
> -i used the debugger to watch str and the same result here
> second: i have to update the datasource with the dataset every time i need
to update a
>
> record, then why i use a dataset if i will go to the server every
transaction
> any way i tried to update the datasource as
>
> this.sqlDataAdapter1.Update(this.dataSet11,"departments");
> and the same result , no change in the old value
I strongly suggest that you simplify your scenario.
-- John Saunders johnwsaundersiii at hotmail
- Next message: John Saunders: "Re: Scrollable Datagrid..."
- Previous message: Chad A. Beckner: "Re: Page Source Code In Memory??"
- In reply to: abdoly: "Re: datagrid update command"
- Next in thread: Scott M.: "Re: datagrid update command"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|