Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27034

Changing the format of a databinding

$
0
0
I am using vb in VS 2005. I have a label that I bound to a date field in a dataset

The following:

lblAuditDate.DataBindings.Add("text", dsResults.Tables("2013_results"), "auditdate")

shows it as 4/13/2013 12:00:00 AM for example.

How can I format it to just MM/dd/yyyy?

Viewing all articles
Browse latest Browse all 27034

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>