access to DataGrid contents from another Form

dburucu
02-07-2004, 07:06 AM
Hello,

I want to read the contents of my Datagrid in Form1 from the Form2.

I fill my Datagrid with .mdb.

Open my Form2.



Private Sub Form2_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Form1 As New Form1
MsgBox(">" & Form1.DataGrid_produkte.CurrentRowIndex)
End Sub



But it doesn't work.

Please HELP me!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum