Hi,
I have the following error I can't resolve
'PaymentMeans' does not contain a definition for 'dueDateField' and no accessible extension method 'dueDateField' accepting a first argument of type 'PaymentMeans' could be found (are you missing a using directive or an assembly reference?) XMLublreader
I attempt to make a variable in a getter and setter 'dueDateField' The code is this:
[System.Xml.Serialization.XmlElementAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", DataType = "date")]
public System.DateTime PaymentDueDate
{
get
{
return this.paymentDueDateField;
}
set
{
this.paymentDueDateField = value;
}
}
[System.Xml.Serialization.XmlElementAttribute(Namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", DataType = "date")]
public System.DateTime DueDate
{
get
{
return this.dueDateField;
}
set
{
this.dueDateField = value;
}
}
// Declaration
public partial class PaymentMeans
{
private string paymentMeansCodeField;
private System.DateTime paymentDueDateField;
private System.DateTime DuedateField;
I see that paymentDueFiled is grayed and DueDateField is black.
If more information needed I am glad to provide it.
It was a XML file which is converted to CLASSes by VS paste special