如何在文本框中以dd / mm / yyyy格式搜索日期并在sql 2008数据库中搜索并在gridview中显示结果 [英] How to search date in textbox in dd/mm/yyyy format and search it in sql 2008 database and show the result in gridview

查看:84
本文介绍了如何在文本框中以dd / mm / yyyy格式搜索日期并在sql 2008数据库中搜索并在gridview中显示结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在搜索文本框中输入后在gridview中显示日期,以便在dd / mm / yyyy格式的文本框中输入的日期应该与sql数据库中的日期匹配,它也应该出现在gridview中。

所有这些都应该在c#sql 2008 windows应用程序中。

I have to show date in gridview after typing it in search textbox so that date entered in textbox in dd/mm/yyyy format should match with date in sql database and it should come up in gridview also.
All this should be in c# sql 2008 windows application.

推荐答案

通常这个论坛用于困在特定主题或控件上的程序员和开发人员。您要求的是一个解决方案,它连接到数据库,检索值,比较值然后显示该值。这不是问题,这是编写整个功能的请求。请尝试自己解决这个问题,开始黑客攻击,将事情拼凑在一起,当你遇到问题时,请提出问题。
Normally this forum is used for programmers and developers that are stuck on a particular subject or control. What you asking is for a solution, that connects to a database, retrieves a value, compare the value and then displays that value. That's not a problem, that's a request to write an entire functionality. Please try to figure this out yourself, start hacking, piece things together and when you're stuck, then ask questions.


这篇关于如何在文本框中以dd / mm / yyyy格式搜索日期并在sql 2008数据库中搜索并在gridview中显示结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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