scusate la domanda da neofita ma i sassolini sembrano montagne x ki è alle prime armi.
Con la creazione guidata form ho il pulsante CARICA dati da DB, il cui codice è:
Ebbene. Vorrei che al caricamento del form venisse automaticamente richiamato la prima volta. come fare?codice:Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click Try 'Attempt to load the dataset. Me.LoadDataSet() Catch eLoad As System.Exception 'Add your error handling code here. 'Display error message, if any. System.Windows.Forms.MessageBox.Show(eLoad.Message) End Try Me.objdbedicola_PositionChanged() End Sub
codice:Private Sub frmGestioneTipi_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub

Rispondi quotando