cannot get updated value when editting dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I want to edit dataset - everything is fine, except I can not get updated value using (Textbox)e.Item.Cells[1].Controls[0].Text. It is always the value before input. What could be wrong? Thanks in advance.
 
hi,

did you call EndEdit() after you are done with the changes. The updates are
visible after you call the method.

rgds
Joyjit
viletter said:
Hi

I want to edit dataset - everything is fine, except I can not get updated
value using (Textbox)e.Item.Cells[1].Controls[0].Text. It is always the
value before input. What could be wrong? Thanks in advance.
 
No, I didn't call EndEdit() - I am not sure where to call it. In Microsoft's example, it doesn't have it. User input is from client side, can you tell me how can I call EndEdit()? Thanks!

MyNews said:
hi,

did you call EndEdit() after you are done with the changes. The updates are
visible after you call the method.

rgds
Joyjit
viletter said:
Hi

I want to edit dataset - everything is fine, except I can not get updated
value using (Textbox)e.Item.Cells[1].Controls[0].Text. It is always the
value before input. What could be wrong? Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top