URGENT!!!!

  • Thread starter Thread starter Marcus Vinícius
  • Start date Start date
M

Marcus Vinícius

Hi Guys,

When I trying to execute this code,

insGrupo = Nothing
insGrupo = New Grupo(Short.Parse(0), TxtGrCoCodi.Text)


occurs the following error

System.FormatException: Sequence of entrance was not in a correct format.


Somebody knows what it can be this error?
 
Marcus Vinícius said:
Hi Guys,

When I trying to execute this code,

insGrupo = Nothing
insGrupo = New Grupo(Short.Parse(0), TxtGrCoCodi.Text)


occurs the following error

System.FormatException: Sequence of entrance was not in a correct format.


Somebody knows what it can be this error?

What are the types expected by the "Grupo" constructor?
Usually the "Parse" methods take a "string" parameter, not an int?
(try "Convert.ToInt16(0)")

Hans Kesting
 
Back
Top