A
aaa
Hi
I am trying to bind Text property of label control to datetime object
(attribute from typed dataset). The problem is that I want only to show
date part. Currently I use following code:
this.dv = new DataView(this.ds.Person);
this.labelBirth.DataBindings.Add("Text", this.dv, "BirthdayDate");
When I do this, the text shown is, for example,
12.10.1990 13:25:34
What is the way to format the binded text to show only date part?
12.10.1990
I am trying to bind Text property of label control to datetime object
(attribute from typed dataset). The problem is that I want only to show
date part. Currently I use following code:
this.dv = new DataView(this.ds.Person);
this.labelBirth.DataBindings.Add("Text", this.dv, "BirthdayDate");
When I do this, the text shown is, for example,
12.10.1990 13:25:34
What is the way to format the binded text to show only date part?
12.10.1990