DataAdapter problems...
From: Paul Aspinall (paul_at_aspy.co.uk)
Date: 01/25/05
- Next message: Bruce Wood: "Re: Why use "finally""
- Previous message: Bruce Wood: "Re: New Line Constant Error!"
- Next in thread: Paul Aspinall: "Re: DataAdapter problems..."
- Maybe reply: Paul Aspinall: "Re: DataAdapter problems..."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 Jan 2005 22:34:10 GMT
Hi
I have a dataset which consists of a datatable.
I make changes to the data in the datatable, via the use of a bound textbox.
When debugging, I output the value of:
dataset.Tables[0].Rows[0]["Name"].ToString()
and this reflects the correct value that I want. However, the dataadapter
does not seem to recognise the change, and doesn't update the underlying
table back to the DB.
However, if I specifically set the value of the DB, via
dataset.Tables[0].Rows[0]["Name"]="aaaaa";
then all seems to work fine.....
Any ideas??
Thanks
- Next message: Bruce Wood: "Re: Why use "finally""
- Previous message: Bruce Wood: "Re: New Line Constant Error!"
- Next in thread: Paul Aspinall: "Re: DataAdapter problems..."
- Maybe reply: Paul Aspinall: "Re: DataAdapter problems..."
- Messages sorted by: [ date ] [ thread ]