想要通过单击日期来查看数据 [英] want to see the data by clicking the date
本文介绍了想要通过单击日期来查看数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在网格视图中查看数据,当我在文本框中单击日期时,它将仅显示该日期的数据.
how can i see the data in grid view,when i click the date in text box,it will show the data of that date only.
推荐答案
您的查询如
Make your query like
"Select * from table where Date='"+textbox.Text+"'";
并通过单击按钮
and assign Gridview''s datasource to this query on the click of button
这篇关于想要通过单击日期来查看数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文