按日期选择器 [英] by date picker

查看:82
本文介绍了按日期选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Me.UserTableAdapter.Fill(Me.InventorySystemDataSet.User,ComboBox.SelectedItem.ToString())< ----如果我想在组合框中显示项目,则为正确代码...


但是如果我使用dtpicker
该怎么办? Me.UserTableAdapter.Fill(Me.InventorySystemDataSet.User,DateComboBox.SelectedItem.ToString())<-使用此代码,它说这是错误的,所以我该怎么做才能使它正常工作....

Me.UserTableAdapter.Fill(Me.InventorySystemDataSet.User, ComboBox.SelectedItem.ToString())<---- correct code if I want to display the items in the combo box...


but what if I use a dtpicker
Me.UserTableAdapter.Fill(Me.InventorySystemDataSet.User, DateComboBox.SelectedItem.ToString()) <--- used this code and it says it is error so what can I do to make this working....

推荐答案

我认为这对于希望获得错误帮助的人来说很传统,告诉我们错误的实质是什么.
I believe it''s traditional for people who want help with an error, to tell us what the error actually is.


这篇关于按日期选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆