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

Refreshing Datagrid view froma another form

Status
Not open for further replies.

allanmc10

Programmer
Feb 23, 2006
39
GB
I have created a form which i add data and update through stored procedures, but when i close this form i would like to refresh a datadrid view on another formto show the data that i have updated


all help welcome

Big al
 
How do you call the form? With ShowDialog?
If yes, then:

dim f as new form_with_sp_for_update
f.showdialog
' update here the datagrid


When the .ShowDialog() will be called, it wont go to the next line, untill you send a dialog result or simply close the active form
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top