Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update DataSet from TextBox

Status
Not open for further replies.

itflash

Programmer
Jul 18, 2001
535
0
0
GB

Hi all

Have probably a very simple question.

What is the routine to update databound text boxes?

I have the grid working fine with...

objDA.Update(myDS, "Table1")

Why cannot I do the same for databound text boxes? It does not work.

Thanks
ITflash

 
ITflash,

you have to use this code first

try
Me.BindingContext(Myds.table1).EndCurrentEdit()
ObjDa.Update(Myds)
Catch x As Exception
'Error Message
End Try

Handoko
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top