本文介绍了无法将参数值从字符串转换为日期时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想把日期保存到访问数据库但是没有用..我想怎么办

这里是我的代码:



Dim SelectedDate As Object

SelectedDate = New DateTimePicker()

SelectedDate.Format = DateTimePickerFormat.Time

SelectedDate.ShowUpDown = True

SelectedDate.Location =新点(10,10)

SelectedDate.Width = 100

Controls.Add(SelectedDate)

SelectedDate = DateDateTimePicker.Text



我尝试过:



现在我尝试将我的日期时间值保存到访问数据库中

解决方案



i wan to save the date into an access database but didn't work.. how i suppose to do
here is my code :

Dim SelectedDate As Object
SelectedDate = New DateTimePicker()
SelectedDate.Format = DateTimePickerFormat.Time
SelectedDate.ShowUpDown = True
SelectedDate.Location = New Point(10, 10)
SelectedDate.Width = 100
Controls.Add(SelectedDate)
SelectedDate = DateDateTimePicker.Text

What I have tried:

Now I tried to make my datetime value save into an access database

解决方案



这篇关于无法将参数值从字符串转换为日期时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 02:33