maybe there is the best solution to the error problem I am facing
thanks
'error End of statement expected
Public Property Name() As String Implements ISearchable.Name = String.Empty
'Character constant must contain exactly one character and Expression expected
txtTotal.Text = $"TOTAL" & vbLf & "{Order.GetTotal(record.SessionId).ToString("C2")}"
CodePudding user response:
As per the answer from @41686d6564standsw.Palestine so perfect
Public Property Name As String = String.Empty Implements ISearchable.Name
txtTotal.Text = $"TOTAL{vbLf}{Order.GetTotal(record.SessionId).ToString("C2")}"
and also As per the answer from @Craig so perfect
txtTotal.Text = $"TOTAL{Order.GetTotal(record.SessionId).ToString("C2")}"