Re: datagrid update command

From: John Saunders (johnwsaundersiii_at_notcoldmail.com)
Date: 06/04/04


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


Relevant Pages

  • RE: XML DATA source DataSetDataSource DataMemeber
    ... "DataList" objects, which have a property named "DataSource", but I don't ... I'm also not sure what you mean when you say that your XML file has DataSets ... (ArrayLists implement IEnumerable. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: DataGrid Performance in Beta 2
    ... > I've noticed a big performance difference between 1.1 and beta 2.0 when ... > binding a datasource with a datagrid. ... > My XML file contains 100000 records. ...
    (microsoft.public.dotnet.framework.performance)
  • DataGrid Performance in Beta 2
    ... binding a datasource with a datagrid. ... try this code on the 2 frameworks ... My XML file contains 100000 records. ...
    (microsoft.public.dotnet.framework.performance)
  • on Writexml error
    ... I have a XML file as a datasource. ... From: ratnesh gupta ... Prev by Date: ...
    (microsoft.public.dotnet.xml)
  • Re: Using XML file as a data source - concurrency problem?
    ... dasBlog uses an XML file as a datasource and judging by it's ... >There a lot of examples and talk about using an XML file as a datasource. ... >Given a DataSet object, you can easily load data from the XML file, and ...
    (microsoft.public.dotnet.framework.aspnet)