c# - Adding DateTime to ListView? -
How do I add a date value with 2 string values in a ListView? I have tried ...
string [] line = {time.view Toaster (), "example text", "example text"}; ListView1.Items.AddRange (line);
But I get conversion errors.
I do not think that you have any questions specifically to do with a ListView It seems that you just need to know how to extract the string from time to time.
Experiment with "T" standard format ():
time. Value Toastring ("T")
This will be the following for our N:
< / Div>3:51:24 PM
Comments
Post a Comment