| |

VerySource

 Forgot password?
 Register
Search
View: 618|Reply: 1

The time field value read from the database is displayed in the textbox?

[Copy link]

3

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-12 19:00:01
| Show all posts |Read mode
I display the time field value read from the database on a TEXTBOX, but the format does not know how to specify:
OrderTime.Text = DR ["OrderForm_DateDate"]. ToString ();
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-4-10 00:15:01
| Show all posts
((DateTime) DR ["OrderForm_DateDate"]). ToString ("yyyy-MM-dd");
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list