I would like some code and how to place it in my windows form
This is inside a thread, that is called by button 2
vb.net Code:
If portdata2.Rows.Item(sum).Cells.Item(1).Value = "" Then portdata2.Rows.Add(1) ''' i want to add a row to this datagridview end if
when my code arrives this line it gives me the cross thread error
What i srt of understand its that in
portdata2.rows(1) instead of this i should place a code like invoque something
and in my form i should add a sub where invoque is compare...
i just dont know how
I dont want link to read about how to do it..because i just dont get it...
i have always have trouble with this safe thread calls so i want someone to teach me with lil apples..
This goes here and so on..
PLZZZZZZZZZZZZZZZZ




Reply With Quote