I'm trying to format a date:
string s = linha.data.ToString("yyyyMMdd");
But I'm getting an error in ToString()
No overload for Method 'ToString' takes 1 argument
Any tips?
EDITED
In my date field, when I hover over it, it looks like this: DateTime? bpiUltrassom.data {get; set;}
I do not know why this question appears after DateTime