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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to update Datagrid on Enter

Status
Not open for further replies.

demopro

Programmer
Apr 23, 2001
117
US
Hello,

I have a datagrid and need to know how to update the data in it that the user changes. I can do it with the code below on close of the form, but need to know how to do it lets say, after they hit the Enter key or as the data changes.

Here is my code for on close.
Code:
Private Sub frmSwitchBoard_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
        Me.Acct_Cycle_Recap_Temp_IITableAdapter.Update(Me.EnterpriseDataSet)
End Sub

Thanks,
Demopro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top