By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,239 Members | 1,503 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,239 IT Pros & Developers. It's quick & easy.

Formatting in Bound Controls

P: n/a
How do I control formatting of values in a textbox bound to a table in a
dataset? For example, if I want to show dates only in short format or a
certain number of decimal points in a floating point number. Also, are
there problems binding a DateTime picker control? When I did this, it kept
thinking the value was Null when I tried to move to a different record, even
though a date was visible in the control.

Thanks,

Bob
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Use the binding.format event

http://msdn.microsoft.com/library/de...ormattopic.asp

Ken
---------------------
"Robert Boudra" <rb*****@comcast.net> wrote in message
news:e5*************@TK2MSFTNGP11.phx.gbl...
How do I control formatting of values in a textbox bound to a table in a
dataset? For example, if I want to show dates only in short format or a
certain number of decimal points in a floating point number. Also, are
there problems binding a DateTime picker control? When I did this, it
kept thinking the value was Null when I tried to move to a different
record, even though a date was visible in the control.

Thanks,

Bob

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.