Community Center | Not monitored
Tag not monitored by Microsoft.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Bueno, el problema surge al momento de registrar los datos. El detalle se marca en este lugar:
AR = new ARTICULOS
{
Arti = Text1.Text,
ANombre = Text2.Text,
APrecio = int.Parse(Text3.Text),
ATipo = Text4.Text,
D = Text5.Text
};
Y al convocar artículos me refiero a esto:
public class ARTICULOS
{
public string Arti { get; set; }
public string ANombre { get; set; }
public int APrecio { get; set; }
public string ATipo { get; set; }
public string D { get; set; }
}
No entiendo porque marca error, si el tipo de dato que registro y el que se envía son correctos.