F
F
FAwafawf12122021-06-04 10:00:15
WPF
FAwafawf1212, 2021-06-04 10:00:15

How to update data type y in app in visual studio after editing in db?

I initially connected the database via ADO to visual studio wpf and in it there were fields with the DateTime type in the table. Then I realized that I needed the data type and changed the DataTime to Data in the database, but all the fields from DateTime remained in the application and it outputs me as DateTime *my values ​​+ 12am*. How to update the fields in the application or does it need to be created all over again?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cicatrix, 2021-06-04
@cicatrix

This is solved by formatting the value output. And it was not necessary to change the data type in the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question