Re: Found Serious Bug!
From: William Ryan eMVP (dotnetguru_at_comcast.nospam.net)
Date: 03/01/04
- Next message: Bill: "HOW TO: Create a single DataSet bound object used by 50 DropDownList box controls in the same web form. CSHARP"
- Previous message: M E: "Re: Is this possible?"
- In reply to: Trey: "Re: Found Serious Bug!"
- Next in thread: William Ryan eMVP: "Re: Found Serious Bug!"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Mar 2004 08:15:39 -0500
Trey:
I just got in and am reading through your posts. let me read through it and
get back to you shortly.
Bill
"Trey" <weaver@nc.rr.com> wrote in message
news:OTWE8Zw$DHA.2056@TK2MSFTNGP11.phx.gbl...
> After spending another day with this problem I think it is related to the
> datagrid doing something to the dataview and then to the datatable which I
> show.
>
> So I think it may be related to the 'reported' problem with the datagrid
> that you mentioned below. Do you know what the solution was to this
> datagrid problem and I will try it?
>
> "William Ryan eMVP" <bill@NoSp4m.devbuzz.com> wrote in message
> news:%23MUQQLl$DHA.1288@TK2MSFTNGP10.phx.gbl...
> > Trey:
> >
> > The DataView doesn't give a hoot about the DB once you've created it.
For
> > all it knows, the database who's data has populated it may not exist any
> > more. If anything is causing a corruption..it's got to be either your
> > update logic, some other code in the program or a corrupt database file.
> >
> > I've seen this 'reported' before when people had stuff bound to a
datagrid
> > and were using position in the grid as though it matched the underlying
> > datatable. That may or may not be the case based on sorting, but
> Something
> > has to send the update back to a database in order for anything to be
> > changed, and DataView's simply don't have that functionality. They
> > physically can't change a database so it's got to be your update logic..
> > HTH,
> >
> > Bill
> > "Trey" <weaver@nc.rr.com> wrote in message
> > news:OwNPhdh$DHA.2216@TK2MSFTNGP10.phx.gbl...
> > > If you have a datatable connected to a dataview.
> > > And
> > > In that dataview you have a "Sort" property set to a value;
> > > And
> > > You try to modify the "Sort" column in row in such a fashion that it
> gets
> > > moved in the DataView
> > > IT CAN
> > > Corrupt your database.
> > >
> > > A quick fix is to set the "Sort" property of the dataview to "" make
> your
> > > changes and then set it back to it's original value.
> > >
> > > Trey
> > >
> > >
> >
> >
>
>
- Next message: Bill: "HOW TO: Create a single DataSet bound object used by 50 DropDownList box controls in the same web form. CSHARP"
- Previous message: M E: "Re: Is this possible?"
- In reply to: Trey: "Re: Found Serious Bug!"
- Next in thread: William Ryan eMVP: "Re: Found Serious Bug!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|