Quote Originally Posted by dunfiddlin View Post
hesap is in the field of
vb.net Code:
  1. Public Sub secelim()
  2.             Dim secelim As Integer = dgv.Rows(dgv.CurrentRow.Index).Cells(0).Value 'so now NOT .ToString()
  3.         End Sub

plan is in the field of

vb.net Code:
  1. Private Sub dgv_CellClick(sender As Object, e As DataGridViewCellEventArgs)
  2.         Me.MaskedTextBox1.Text = hesaplar.secelim.ToString '.Text is always String, Integer is NOT String
  3.     End Sub
need to be the exact opposite.