当我在文本框中选择日期时,它将在网格视图中显示该日期的数据库 [英] when i select the date in textbox, it will show the database of that date in grid view
本文介绍了当我在文本框中选择日期时,它将在网格视图中显示该日期的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当日期显示在文本框中时,它将在网格视图中显示该日期的所有条目.
解决方案
您的问题不清楚,
据我了解,您正在尝试读取数据库Datetime.
请参阅以下查询,这可能对您有帮助
SELECT TO_CHAR (SYSDATE, ''MM-DD-YYYY HH24:MI:SS'') "NOW" FROM DUAL;
谢谢
--RA
Featch the data from the database with in the calender date selection event when you are binding selected date with the text box..
hi
i add a textbox,button,calender and grid view in default.aspx.if i click the button it display the calender and when i click the date in calender,the date will show in the text box.now the database is in the oracle,and it has the field creation of table cgl2.The creation field saves the date of the all entries.
When the date is show in the text box,it will show the all entrie of that date in grid view.
解决方案
You Question is not clear,
As per my understand you are trying to read the database Datetime.
see the below Query this may helps you
SELECT TO_CHAR (SYSDATE, ''MM-DD-YYYY HH24:MI:SS'') "NOW" FROM DUAL;
Thanks
--RA
Featch the data from the database with in the calender date selection event when you are binding selected date with the text box..
这篇关于当我在文本框中选择日期时,它将在网格视图中显示该日期的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文